Posted By

petrafull on 03/26/11


Tagged

remove as2


Versions (?)

AS2 Delete Movieclip instances


 / Published in: ActionScript
 

AS2 Delete All Movieclip instances in a specified clip

  1. for(var i in holder) {
  2. if(typeof(holder[i])=="movieclip") {
  3. // if you're clips are not dynamically attached, then de-comment this line:
  4. //holder[i].swapDepths(10000);
  5. holder[i].removeMovieClip();
  6. }
  7. }

Report this snippet  

You need to login to post a comment.