Forum Moderators: not2easy

Message Too Old, No Replies

Preloading Flash and Automatic Linking

         

MWpro

2:20 am on Feb 4, 2003 (gmt 0)

10+ Year Member



Two questions for all of you experts.

The first is how do you preload your flash movie so it doesn't play slowly as it loads? It looks fine on my computer but one of my clients with a 56k connection experienced this.

Second is how do you make it so that when the flash movie (intro in this case) is done loading it automatically redirects them to a new page?

Any help is appreciated, thanks.

KevinC

2:44 am on Feb 4, 2003 (gmt 0)

10+ Year Member



well you have 2 questions here:

The first is you need a preloader for your flash movie.
What this usually does is create a short animation that keeps the user busy while the real flash movie loads in behind it. The code will look something like
If movie1 is loaded{

play movie1
}

else{

goto frame 1 and check again

}

Keep in mind this is not the correcty syntax(its been awhile) but this is how the code will work.

There are many preloaders out there just do a search on a good flash resource like flashkit or flashplanet or even google.

The second part of your question you might want to use the fscommand. And again you will have to look up the right code for this, but what you can do is place the right code in the last frame of your movie.

when it reaches the planted fscommand it will call a javascript function to redirect the page.

Sorry it has been a long time since I have worked with flash but I hope this gives you an idea on how the code should work. If you want to sticky me I can suggest some great books or maybe dig up a preloaded for you.

korkus2000

3:26 am on Feb 4, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



preloader
[webmasterworld.com...]

Redirect will just be making the last frame geturl.

MWpro

4:25 am on Feb 4, 2003 (gmt 0)

10+ Year Member



Thanks a bunch :-)