Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

preload jpegs

Status
Not open for further replies.

jefargrafx

Instructor
May 24, 2001
273
US
I'm using 11 different jpegs for graphics in a movie and I've convert these jpegs to swfs. I'm uisng the loadmovie action to load this single frame swfs into a movie clip on the stage as the user rolls over a button.

The problem?

I preload the swf with another movieclip one at a time. and I'd like them all to load together before the timeline get to the frame that has the buttons. The way the user won't see any hesitation if they select the last button first.

nothing I try seems to work.

loading on a different scene, or frame.

is there a some script that can check the the number of bits or movename loaded before moving to the next frame or scene.

my brain is stuck on this one...

thanks for the help
jef



jef
 
Hi Jeff!

Do you want in fact, to preload all movies before the main movies plays?
If so, why are you using the loadMovie action, as opposed to having all your jpgs (in mcs or not!) all in the main movie?
Many users don't seem to understand the use of the loading movies action, at least the way I see it...

You have this one movie, right! With 11 high quality jpgs. Obviously, that will take some time to load, and that's why you would use a preloader to inform the user of this loading process.
Now to shorten this loading process rather than preloading all of the 11 jpgs, some people will use the loadMovie action, because the loading process for each individual jpg will only occur, for example, when a button is pressed, thus reducing the time it takes to preload the main movie.

That's why if you're going to preload all of your movies within the initial preload, you're not saving any preload time and the outcome should be roughly the same as having all of those jpgs in the main movie!
You could, of course in both cases, preload 70-80% of all movie(s) before you have the main movie start playing, while the rest of the download continues in the background... But that might not work either, because depending on the loading order, jpegs 10 & 11 may still be loading and that it so happens that those 2 are precisely the ones I wanted to see!
If you're going to offer me 11 choices... How are going to determine what my first ones will be?
Get it?


mywink.gif
ldnewbie
 
yeah,

the gang here set down and chatted about it and I came to the same conclusion you did, either put the jpegs in the main move or load them as they are selected, you cann't have both.

so what we decided at least for this project is to force the user to section the button in the order that the presentation is design to be seen.

can't please everyone all the time.

thanks for the input.

see ya jef
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top