franmartin
05-21-2001, 07:52 PM
hi again.
more about loadMovie on a movieclip.
I have a Mainmovie.swf whit a blank movieclip (instance name: containerclip) to nest external loadmovie.swf and a button to load this .swf
1.- loadmovie01.swf on containerclip : there are four different syntax to load (at least):
on (press) { loadMovie ("loadmovie01.swf", _root.containerclip); }
on (press) { loadMovie ("loadmovie01.swf", "_root.containerclip"); }
on (press) { loadMovie ("loadmovie01.swf", "_level0.containerclip"); }
on (press) { loadMovie ("loadmovie01.swf", _level0.containerclip); }
first question. Targeted movieclip: to be with quotation marks or not to be with quotation marks that is the question
to unload that movie from containerclip another button where any of the next scripts work properly :
on (press) { unloadMovie (_root.containerclip); }
on (press) { unloadMovie ("_root.containerclip"); }
on (press) { unloadMovie ("_level0.containerclip"); }
on (press) { unloadMovie (_level0.containerclip); }
on (press) {unloadMovie ("/containerclip"); }
but...
second question : when click to unload with any of those different scripts from above output gives a message : Error opening URL "file:///C|/mydocuments/flash5/test3/" (the path to the folder where the .swf files are placed) and in the debugger the action to unload shows that level0.containerclip is loading the Mainmovie.... ummm Mainmovie is attempting to load itself in its inner containerclip. it works but unload is really unloading ??
third question: which could be the script to play the frame (2) on loadmovie01.swf when itīs nested on containerclip inside Mainmovie??
the final question is: which is the status of a movie.swf nested on a movieclip from the Mainmovie.swf?
Thanks in advance.
more about loadMovie on a movieclip.
I have a Mainmovie.swf whit a blank movieclip (instance name: containerclip) to nest external loadmovie.swf and a button to load this .swf
1.- loadmovie01.swf on containerclip : there are four different syntax to load (at least):
on (press) { loadMovie ("loadmovie01.swf", _root.containerclip); }
on (press) { loadMovie ("loadmovie01.swf", "_root.containerclip"); }
on (press) { loadMovie ("loadmovie01.swf", "_level0.containerclip"); }
on (press) { loadMovie ("loadmovie01.swf", _level0.containerclip); }
first question. Targeted movieclip: to be with quotation marks or not to be with quotation marks that is the question
to unload that movie from containerclip another button where any of the next scripts work properly :
on (press) { unloadMovie (_root.containerclip); }
on (press) { unloadMovie ("_root.containerclip"); }
on (press) { unloadMovie ("_level0.containerclip"); }
on (press) { unloadMovie (_level0.containerclip); }
on (press) {unloadMovie ("/containerclip"); }
but...
second question : when click to unload with any of those different scripts from above output gives a message : Error opening URL "file:///C|/mydocuments/flash5/test3/" (the path to the folder where the .swf files are placed) and in the debugger the action to unload shows that level0.containerclip is loading the Mainmovie.... ummm Mainmovie is attempting to load itself in its inner containerclip. it works but unload is really unloading ??
third question: which could be the script to play the frame (2) on loadmovie01.swf when itīs nested on containerclip inside Mainmovie??
the final question is: which is the status of a movie.swf nested on a movieclip from the Mainmovie.swf?
Thanks in advance.