Forum Moderators: open

Message Too Old, No Replies

Redirect to URL after Flash plays

Redirect to URL after flash movie finishes

         

txgeekgirl

4:59 pm on Nov 7, 2005 (gmt 0)

10+ Year Member



Hi there - I am looking for a better way to redirect automatically to a URL after a flash movie plays. Is there a way to code it into the movie at the end instead of using a meta tag in the head to refresh?

benihana

5:05 pm on Nov 7, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



yeah in the last frame of you movie/after other code has executed, use the getURL() actionscript.

Welcome to WebmasterWorld!

txgeekgirl

6:13 pm on Nov 7, 2005 (gmt 0)

10+ Year Member



I did that.... that just makes the last frame an active hyperlink. It doesn't automatically go to the information page. Any other ideas?

Richard_N

9:29 pm on Nov 7, 2005 (gmt 0)



onEnterFrame = function() {
getURL("http://whatever.com",_blank);
}
stop();

the _blank is an optional parameter if you want to load in a new window, if not just miss it out.