How do I hide a child in a accordion? Using visible doesn’t seem to work and enabled isn’t what I’m after.
<mx:Accordion> <mx:VBox width='100%' height='100%' label='Foo' id='viewOverview' visible='false'> ... </mx:VBox> ... </mx:Accordion>
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I think you can’t hide it. Strange that the visible property doesn’t work… Anyway, I would control the children through code and remove and insert them as needed by the app. Hiding:
You’ll probably want to keep a reference to the ‘hidden’ child so that you can add it later again.