How to do what you proposed?
Any example?

Ghislain Simard
Analyst Technique web | Web Technical Analyst 
Ressources Naturelles Canada | 580 Booth Ottawa (Ontario)  K1A 0E4
Natural Resources Canada | 580 Booth St Ottawa ON  K1A 0E4
Gouvernement du Canada | Government of Canada
[EMAIL PROTECTED]
613-947-0582 | télécopieur / facsimile 613-996-9416  



-----Original Message-----
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
Behalf Of Abdul Qabiz
Sent: Monday, October 03, 2005 2:17 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] hidding a stack in the accordion


Hi,

To completely hide it, you have to remove it from Accordion. And add it
Accordion when you want to show it....But in that case you have to save
the current state of it(date, visual state etc)..and reinitialize it in
same state when you add it.

-abdul

-----Original Message-----
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Simard, Ghislain
Sent: Monday, October 03, 2005 11:15 PM
To: 'flexcoders@yahoogroups.com'
Subject: RE: [flexcoders] hidding a stack in the accordion

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: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
Behalf Of Manish Jethani
Sent: Sunday, October 02, 2005 3:24 PM
To: flexcoders@yahoogroups.com
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



 





--
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



 





--
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/
 


Reply via email to