Log in

View Full Version : Need actionscript to have intro go to home page of site



Geezer D
06-13-2009, 06:59 AM
Hi, all
Flash newbie here.

I have Flash CS4, and I can't seam to find the code to make my intro go to home.html (and not in a new window) using actionscript 3.0.
Every code I've found made the pop-up blocker block it.

I finally just used 2.0 and used getURL("home.html"); but I'd like to use 3.0 (don't ask me why, it just seams like I oughta, hahah).

Thanks in advance

thetestingsite
06-13-2009, 05:19 PM
Take a look at this website and just replace "_blank" with "_self" or "_parent".

http://scriptplayground.com/tutorials/as/getURL-in-Actionscript-3/

Hope this helps.

Medyman
06-14-2009, 03:00 AM
If you're trying to launch a new window programtically, the proper behavior for the browser is to block it. There really is no way around it unless you have the user click to launch the new window.