I followed this tutorial, then downloaded the fla. for the centered popup. I get a syntax error when I run it. Can someone help me out on this? Here is the url for the tutorial and fla. http://www.kirupa.com/developer/mx/centered_popup.asp
Did you make sure you put the button actions on the button and the movie actions in a frame?
Stupid question I know, but when I first read it I expected the frame actions to be first, and I ended up pasting the button code on my frame and the frame code on my button. Pretty stupid of me eh?
Well after I reversed them it worked great.
You have to publish your movie and open it in IE (or your browser) to be able to test if it works.
Mine did, so there is nothing wrong with the code.
What I am trying to do is open the centered popup from within my swf file. When I publish it, i get the html file and it works great, but when I try to use it from within my swf it does not. How might I acomplish this? Or, can this be done?
Thanks:)
Toad
It can’t be done from the .swf file because window.open and such are javascript functions that call upon your browsers functions. Therefore, it needs to be done from your html page.