>From the help file ;-)

Accordion.selectedChild
Availability
Flash Player 6 (6.0.79.0).

Edition
Flash MX Professional 2004.

Usage
accordionInstance.selectedChild


Description
Property; the selected child (of type UIObject) if one or more children
exist; undefined if no children exist. 

If the accordion has children, the code accordionInstance.selectedChild
is equivalent to the code
accordionInstance.getChildAt(accordionInstance.selectedIndex). 

Setting this property to a child causes the accordion to begin the
transition animation to display the specified child.

Changing the value of selectedChild also changes the value of
selectedIndex.

If the accordian has children, the default value is
accordionInstance.getChildAt(0). If the accordion doesn't have children,
the default value is undefined.



Groet,

 

Peer 

http://www.weiqi.nl

http://www.weiqi.nl/blog

http://www.schoolvoordetoekomst.nl

 

mobiel: 06 36 13 45 56
werk:    073 62 00 274


-----Oorspronkelijk bericht-----
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens Mike Mountain
Verzonden: woensdag 8 november 2006 11:33
Aan: Flashcoders mailing list
Onderwerp: [Flashcoders] Accordion Pains!

Don't use components often, so excuse the ignorance. And I have RTFM'd
and googled.

Can't find anyway of setting the state of the Accordion Panel (ie. Which
one subpanel is open) using AS?

Anyone? Bueller?

Cheers

M
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training http://www.figleaf.com
http://training.figleaf.com


Disclaimer:
Het Koning Willem I College/School voor de Toekomst sluit elke 
aansprakelijkheid uit voor eventueel in of als bijlage bij deze e-mail 
voorkomende onjuiste, onvolledige of door virussen aangetaste teksten en 
documenten.

Koning Willem I College/School for the Future rejects any liability for 
improper, incomplete or delayed texts in or annexed to this email or for damage 
resulting from texts or documents in or annexed to this e-mail affected by 
viruses.

_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to