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


You need to login to view comments.