Forum Moderators: open

Message Too Old, No Replies

Preloading swf's into Browser cache?

preload swf browser cache javascript

         

SuperOmegaSlack

10:12 pm on Apr 27, 2006 (gmt 0)

10+ Year Member



Basically, i would like to preload Flash movies into the browsers cache when the main page loads, so that these flash movies will run smoothly later on in the site.

My question, is there a way to preload all the movies into the broswer's cache without playing them? I have tried using arrays to load the movies, but they end up playing when they are loaded, so when you click on of the buttons, it goes to whatever movie is playing at that time. I tried Javascript, but would never load the flash files, but I think that Javascript is what will work.

I have been researching this for the past two days now, and haven't found anything that works, this is my first full flash website and anyone's help would be greatly appreciated!

Here is my site if you want to see what i am tlaking about:
www.lucidreflection.net

Richard_N

6:23 am on Apr 28, 2006 (gmt 0)



If its a full falsh website why do you need to use an external form of preload, just make a holding movie and call in content witht he onloadEvent function that will provide a visual feedback of each movies load progress within the holding movie...

SuperOmegaSlack

3:39 pm on Apr 28, 2006 (gmt 0)

10+ Year Member



The problem is, I have the first movie as a container, the second movie is pretty much just two buttons, after clicking one of the buttons, one of two movies will play that leads into a fourth movie. I have it split into 4 different movies due to their size.
If i preload the movies with the first frame stop;, then I cannot figure out how to play the movies in order after one of the buttons is clicked. Basically I think i went about this the all wrong, i dunno.