FLASH AS2 Controlling main swf plaback from loaded swf
hello,
i have 2 swf files. main swf (main.swf) loads swf (external.swf).
current code in main swf loads external swf is:
stop();
this.createemptymovieclip ("holder", 1);
holder.loadmovie ("content/swf/m01/disclaimer.swf");
then loaded swf should unload on click event , main swf movie should resume play.
the code in swf file is:
on (release) {
_level0.gotoandplay("hidemsg");
_parent.unloadmovie("content/swf/m01/disclaimer.swf",1);
}
the external swf loads , unloads perfectly, main movie not seem resume.
when try use _level0.play, seems reload , restart main.swf file.
any appreciated.
laura
i not sure maybe there's stop() method on frame "hidemsg" try go next frame , play.
More discussions in ActionScript 1 and 2
adobe
Comments
Post a Comment