Posted By

allnatural on 04/13/09


Tagged


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

damarev
toxin20


Remove All Children Of DisplayObject


 / Published in: ActionScript 3
 

  1. public static function removeAllChildren($do:DisplayObjectContainer):void {
  2. while ($do.numChildren)
  3. {
  4. $do.removeChildAt(0);
  5. }
  6. }

Report this snippet  

You need to login to post a comment.