I am loading an external SWF using loadMovie. I do not want the movie clip to start playing because I will be controlling it, but I can not figure out how to load it without having it play automatically. Below is the actionscript I am currently using and for some reason it still plays.
loadMovie("[file.swf","empty](http://media.noniusers.com/flash/TNI-inc500.swf)");
empty.stop();
I think you must put stop(); in the first frame of file.swf
so are you loading this into another empty clip or no?
This is what I am trying to do.
I am using a component called “movieController” that I got over at
http://www.flashloaded.com/moviecontroller.php
It works great and it allows you to control a movie clip. In my case I am having it control a MovieClip that I loaded in as an external SWF file using LoadMovie. What I am trying to do now is build a preloader. For some reason if I build the preloader into the SWF that I am loading into my MAIN SWF file and control it using the movieController component, it will not work.
Because of this I am building a preloader in my MAIN SWF file that checks to see if the movieclip is loaded (using movieclip.getBytesLoaded(), etc.). My preloader works prefect but I need to load the movieclip without it playing automatically. I want to load the movie clip, have it stop, the preloader checks to see if the movie clip is loaded, then starts playing the movie clip if the movie clip is loaded.
For some reason I can not get
myMovieClip.stop()
to work.
onClipEvent(load){
loadMovie(“yourFile.swf”,“my”)
my._visible= false;
}
place this on a holder for the clip. this holder will just serve as the holding place for the movie until you want it seen. of course, you will have to put that clip holder where you want the movie to be.
that will load the movie, and set its visible to false… which means itll be hidden. later on, you can set it to true and make it seen. thats just one way.
sam
Here is the FLA if anybody wants to check it out.
Make sure you publish it to preview it. For some reason hitting CTRL-ENTER does not work.
http://www.barncow.com/growth-preloader6.fla