Mega Code Archive
Categories
/
Flex
/
Container
Remove control from parent
import mx.core.UIComponent; private function hideAndRemoveFromLayout(event:Event):void { (event.target as UIComponent).visible = false; (event.target as UIComponent).includeInLayout = false; }