Remove All Children From a DisplayObjectContainer


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



Copy this code and paste it in your HTML
  1. while (displayObjectContainer.numChildren) {
  2. displayObjectContainer.removeChildAt(0);
  3. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.