i’m just dreaming, but i read the tutorial for the centered popup window, and it relies on a button. is there a way to do this:
a link opens a transparent animation over an html page, then the movie unloads, leaving the html as it was, and a centered window pops up.
i can open a centered window with a button, but can you make a movie open it for you using actionscript?
(i also haven’t really figured out a way to get a link to open a transparent animation either though. so far i can only get it to load with the html page.)
You can luanch the window when a certain frame is played, just take the script from the button, remove the button handlers and paste the rest of it on whatever frame you want. The script should look something like this without the button handlers.
//customize the window that gets opened
// 0 equals NO.
// 1 equals YES.
address = "http://www.kirupa.com/modular/pop-up.htm";
target_winName = "kirupa";
width = 400;
height = 300;
toolbar = 0;
location = 0;
directories = 0;
status = 0;
menubar = 0;
scrollbars = 1;
resizable = 0;
//sends data back to the function
openWinCentre(address, target_winName, width, height, toolbar, location, directories, status, menubar, scrollbars, resizable);