all groups > flash actionscript > december 2005 >
You're in the

flash actionscript

group:

master controller help



master controller help dethtrap
12/14/2005 10:05:54 PM
flash actionscript: Hello,

I am doing a flash presentation for a client. The presentation has a
controller which has functions such as play/pause, next scene and previous
scene. The controller uses loadMovies() to load the external swf files (aka
scenes). Right now all the functions are correctly working (next plays next
scene, etc) except for one thing. I need the controller to be able to pause
ALL mc's which includes the main external scene and all internal MC's inside
the main external scene. Is there any easy way to do this? Any suggestions?
Re: master controller help kglad
12/14/2005 11:15:10 PM
stopAllF(_root);
function stopAllF(mc){
mc.stop();
for(obj in mc){
if(typeof(mc[obj])=="movieclip"){
stopAllF(mc[obj]);
mc[obj].stop();
}
}
AddThis Social Bookmark Button