delete all childs


/ Published in: ActionScript 3
Save to your folder(s)



Copy this code and paste it in your HTML
  1. private function removeChildren (container:MovieClip):void
  2. {
  3. while (container.numChildren)
  4. {
  5. container.removeChildAt (0);
  6. }
  7. }
  8.  
  9. //removeChildren (myHolder);

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.