Sorry, I think my question wasn't clearly defined. Let me reformulate my
question.
If I have three stacks composing my accordion.
<mx:Accordion id="myAccordion">
<mx:Form id="stack1"></mx:Form>
<mx:Form id="stack2"></mx:Form>
<mx:Form id="stack3"></mx:Form>
</mx:Accordion>
I need a function which has the role of hidding or not "stack2". By hidding
I meant not being able to see "stack2" anymore. Simulating the following:
<mx:Accordion>
<mx:Form id="stack1"></mx:Form>
<mx:Form id="stack3"></mx:Form>
</mx:Accordion>
Now here is the tricky part:
I would like to get back "stack2" if my condition is else. I want to see
stack2 with all his containers & controls.
function mangeAccordionStacks():Void{
if (x == 1){
//myAccordion.stack2 is out of the accordion
}else{
//myAccordion.stack2 is in the accordion
}
}
Thanks
-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED]
Behalf Of Manish Jethani
Sent: Sunday, October 02, 2005 3:24 PM
To: [email protected]
Subject: Re: [flexcoders] hidding a stack in the accordion
On 10/1/05, Ghislain Simard <[EMAIL PROTECTED]> wrote:
> How to programtically hide a stack (or a tab) in an accordion?
One accordion pane will be visible at any given time. To switch to
another pane simply set the 'selectedIndex' property accordingly.
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links
------------------------ Yahoo! Groups Sponsor --------------------~-->
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
--------------------------------------------------------------------~->
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/