cleanup all UIComponents inside mx:Application
- by user267530
Hi
I create some elements( UIComponents, mainly Panels) inside the “mx:Application name=”tst” “. I need to cleanup all those UIComponent’s on MouseClick event , using Actionscript. Is there any way I access the children elements of mx:Application ( I used
var totalChildren:Number = this[‘tst’].numChildren ;
but looks like it fails to…