LoadMovie optimization

First time on this forum, have a question that I hope someone can help me with.

I have a site that I am building that is utilizing the LoadMovie command extensively. What I am finding is that some of the swf’s that I am loading at different intervals are a little bigger (ie 400k, more graphics).

My question is, is there a way to pre-load all of the swf’s and then only call them when needed, thereby only having to create one actual pre-loader at the beginning?? I have seen other sites that use pre-loaders all throughout the site, such as to load sounds, graphics, etc. I am using different swf’s on different levels as well as using hte unloadMovie command.

I hope this question is not too confusing.

Thank you in advance you any help, or pointing me to any tutorials that may offer some insight.

whats the point of having them as seperate swfs if you are just loading them all in to start anyway?

I guess I did not explain myself very well. I am sorry.

You’re right.

I guess I could just run seperate pre-loaders for any swf’s that need them.

Sorry to bother ya.


well I mean its ok to have parts of your site loaded in via external swfs but this is usually for a ‘load when needed’ basis. Otherwise, you might as well have everything in the original swf and load it all at once (rather than preloading each external swf). This will keep it contained and even give a smaller file size because it reduces redundancies within the multiple swfs

I think the issue that I was having was because throught the site, when different clicks were made, the backgrounds would change. I would have an animation running during a particular scene, then, when the user would click on a button, it would empty out all animations, then load new backgrounds, sounds, etc. I couldn’t figure out how to have all that in one swf, with different scene’s and layers. So I went with different swf’s with the loadmovie command. This was causing some of the movie to hag, but it could be that I just don’t have my graphics optimized.

Thanks for taking time to answer, I appreciate the advice!!!

I understand exactly what you mean…I am having the same problem.
I have a site that is heavy with photoshop frames, each button gives a different option for another swf to load (which is also large in filesize).
…Instead of loading the whole ■■■■ thing in one swf (and leaving the viewer waiting a looooooooooooooooong time!!)
what we would like to do is have our ‘extra option’ swf’s loading in the background while the main movie is running, ready for a smooth start when someone hits the selected button…

Confused??? someone understands…someone has the answer!!!

…can we have it please?

I’ve never seen a site that does something like what you’re asking for m660 and I don’t even know if it’s possible. If it was possible then it would probably lag the viewer’s computers since it’s loading external swf’s while playing the main movie at the same time.