Posted By

Bonky on 11/10/10


Tagged

movieclip stop


Versions (?)

Stop all movieclips


 / Published in: ActionScript
 

URL: http://www.actionscript.org/forums/showthread.php3?t=97941

  1. getAllMc(_level0);
  2. function getAllMc(mc) {
  3. for (var i in mc) {
  4. if (typeof mc[i] == "movieclip") {
  5. mc[i].stop();
  6. getAllMc(mc[i]);
  7. }
  8. }
  9. }

Report this snippet  

You need to login to post a comment.