View Full Version : Need help with Flash
We've got a flash intro for a website. How do you make the flash intro automatically forward to the front page of the website?
You could use the meta refresh tag (where nSeconds below is the number of seconds before the redirection would occur:<HEAD>
<META HTTP-EQUIV="refresh" content="nSeconds;URL=http://www.yoursite.com/newpage.htm">
</HEAD>This isn't the most desirable approach but it's a start for you. I've not developed much with Flash but I would think that there is some other more graceful way of doing this with Flash itself.
Some more info that may help:
http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_14126
http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_14086
You could use the meta refresh tag (where nSeconds below is the number of seconds before the redirection would occur:<HEAD>
<META HTTP-EQUIV="refresh" content="nSeconds;URL=http://www.yoursite.com/newpage.htm">
</HEAD>This isn't the most desirable approach but it's a start for you. I've not developed much with Flash but I would think that there is some other more graceful way of doing this with Flash itself.
The problem with that approach is that if the flash intro takes a while to load, it will not play out fully before going to the other site.
Instead if you put this action script code at the very last frame of your movie
it should do the trick:
Get URL ("http://www.yourlink.com", window=_self")
edit: btw here is the latest piece of flash I worked on www.what-is-the-syndicate.tk :D
The problem with that approach is that if the flash intro takes a while to load, it will not play out fully before going to the other site.
Instead if you put this action script code at the very last frame of your movie
it should do the trick:
Get URL ("http://www.yourlink.com", window=_self")
edit: btw here is the latest piece of flash I worked on www.what-is-the-syndicate.tk :D
I knew there had to be a more graceful way of handling this. Thanks for the tip. :cool:
vBulletin® v3.7.1, Copyright ©2000-2012, Jelsoft Enterprises Ltd.