Groups | Blog | Home
all groups > macromedia flash sitedesign > july 2003 >

macromedia flash sitedesign : Using javascripting in Flash



jsmom
7/25/2003 5:18:19 PM
I have a splash page. After the animation plays I want to call an html file to open in a presized window. My code goes something like "getURL javascript"(yada, yada, yad). This works fine and the window opens with all the correct parameters set, however, a page before that pops up that says [object]. How do I get this page to "go away".


Kappytown
7/25/2003 5:23:22 PM
add "void(0)" at the end of the javascript call:

getURL("javascript:open(yada yada yada);void(0)");

Kappy

[quoted text, click to view]
file to open in a presized window. My code goes something like "getURL
javascript"(yada, yada, yad). This works fine and the window opens with all
the correct parameters set, however, a page before that pops up that says
[object]. How do I get this page to "go away".
[quoted text, click to view]

AddThis Social Bookmark Button