AS3 Remove All Children
function removeAllChildren(mc:MovieClip):void { while (mc.numChildren) { mc.removeChildAt(0); } }