2 Replies Latest reply on Nov 1, 2009 6:40 AM by levancho

    Removing an <mx: /> tag

    jcahill23 Level 1

      Hi. I have a <mx:Panel> that I want to only be visible when a button is clicked. I know i can set the visible property to false but and then to true when the button is clicked but i was wondering if there is a better way like if you can add the control and then remove it like addChild() and removeChild().

       

      Thx.