loaded Movies and preloaders
Hey everyone, I'm having some trouble with loaded movies...I'm using them to build my layout, so the nav is one swf, the content area is another, and the top and bottom areas are separate swfs. Each swf has its own simple preloader.
If I embed one of those swfs into an HTML page by itself and open it in a browser, the preloader works.
But, if I embed the final 'base' swf that loads each of those layout pieces, their preloaders don't do anything...the movies just play when the browser's ugly blue progress bar at the bottom is done.
What am I missing?
Thanks so much!
you bring the SWFs in using levels or movie clips
What I did was, I created a base SWF...inside that I put a series of "loadMovie" calls on successive keyframes in the main timeline.
For each of those "loadMovie"s, I specified a path to the SWF file to be loaded, and a 'target' for the loaded SWF. The 'target' is a movie clip on the time line that is generally empty (looks like a little white dot), and serves only as a kind of a vessel for the loaded movie. The important thing is that that target movie clip has an instance name, because the "loadMovie" command requires that you specify one.
A typical call looks like this (from Milosav's post above):
loadMovie("movie1.swf","mc1");
Where "movie1.swf" is the SWF to be loaded, and "mc1" is the instance name a movie clip on your timeline. When you do a 'Test Movie', movie1.swf should appear below and to the right of wherever you placed the movie clip called "mc1". This is because the target movie clip represents the top left corner of the externally loaded SWF. It takes a few tries to line everything up in your design, but once you've done that once, you're done forever. Any updates/changes take place in those loaded swfs.
So far, it's been the BEST as far as my workflow...Hope this helps!