/ Published in: ActionScript 3
This is handy for removing all children from a movieclip
Expand |
Embed | Plain Text
private function removeChildren (container:MovieClip):void { while (container.numChildren) { container.removeChildAt (0); } } //removeChildren (myHolder);
You need to login to post a comment.
