cleanup all UIComponents inside mx:Application
Posted
by user267530
on Stack Overflow
See other posts from Stack Overflow
or by user267530
Published on 2010-06-02T21:06:50Z
Indexed on
2010/06/02
22:04 UTC
Read the original article
Hit count: 260
flex
|actionscript
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 access the children list).
Thanks
Palash
© Stack Overflow or respective owner