Flash Preload Question
- Started
- Last post
- 7 Responses
- fyoucher10
Load "progressively", per say. Load whatcha need to start at first. Then, after that, begin loading your additional assets WITHOUT user interaction (use a queue). But, if you're user asks for another asset that hasn't downloaded yet, stop the current queue download, get the called assets, then continue downloading the queued assets. The guy over at greensock has a great loader class for this. Check it out, I think it's exactly what ur looking for, well-documented too.
- checking that now. thanks!lvl_13
- wow - i think this may be what i've been looking for as well - thanks!bulletfactory
- anxiousarms0
in your preload code, before the preloading actually happens UNLOAD the movieClip. that should help kick out the old and make room for the new.
- anxiousarms0
if you're using AS3.0 there's an actual stop loading method
also, ask over at www.gotoandlearn.com
- lvl_130
ah, sorry, should have said i was using AS2 :(
not sure i follow you with your previous statement...
- lvl_130
Damn! After reading the documentation on the greensock file, this seems to cover everything I wanted! Now let's just hope I can successfully implement it!
Thanks fyoucher1 for the great link! And thanks everyone else for the input on this issue.
- fyoucher10
Look up the MovieClipLoader class and it's methods in the help file. Should have everything you need to know.
- exactly.anxiousarms
- takinga look now. will let you know :)
thanks.lvl_13
- ifeltdave0
I think loading the swfs as the user requests them by clicking on the buttons is the best way to go. Forcing them into a huge download like that doesn't create a very good user experience, unless the need to eliminate the waiting between sections is essential. This will make your preloader much simpler and you won't have to worry about pausing the big load for any reason.
- I'm starting to think this is the way to go. I was trying to get all fancy hahalvl_13