Copy link to clipboard
Copied
I have a flash intro to a website that I want to redirect to the homepage once the video is finished. My code is below. Everything works right except that it always opens a new tab when I view the website in firefox. It works fine in safari though... I'm pretty new to actionscript but the "_self" command should make the page open in the same tab, right? please let me know what I'm doing wrong!
intro.addEventListener(Event.COMPLETE,completeF);
function completeF(e:Event){
var targetURL:URLRequest = new URLRequest("home.html");
navigateToURL(targetURL, "_self");
}
Copy link to clipboard
Copied
what's intro?
Copy link to clipboard
Copied
intro is the the instance name of the FLV playback
Copy link to clipboard
Copied
i don't see any problem using firefox 23.0.1 with fp 11.7.700.169.
the latest version of fp is 11.8.800.168. which are you using: http://helpx.adobe.com/flash-player/kb/find-version-flash-player.html
Find more inspiration, events, and resources on the new Adobe Community
Explore Now