Preloading more than meets the eye? :D

sorry for the somewhat stupid topic :slight_smile:

aaaanyway, I used this tutorial to create a preloader with loading bar http://www.kirupa.com/developer/mx/percentagepreloader.htm, which is great. It works fine, looks fine etc. Problem: my main swf file is really very small, and the navigation system and other contents are separate swfs and load into it individually. How do I get my preloader to preload more than just my main swf (ie. all the other smaller ones)?

Hope that makes sense. Just ask if you need me to clarify!

Thanks for any help!

maybe you ought to load all your swf in the first frames, do a loop which checks the sum of the getBytesLoaded() of all the movie clips…

hmm, but how do I code that? or is it just a case of loading the movieclips in the first frame: will getBytesLoaded automatically take these into account?

someone? how do I get lots of separate swfs to be preloaded by my main swf before they’re actually called into use?

Add the preloader to each file individually :wink:

The whole purpose of loadMovie() is to load files individually each with their own preloader. If you are going to preload them all at once you might as well just make it one giant file with one giant file size :wink: