/ Published in: ActionScript 3
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
public static function removeAllChildren($do:DisplayObjectContainer):void { while ($do.numChildren) { $do.removeChildAt(0); } }