Source : [ http://merhl.com/webdevblog/index.php?itemid=37 ]
If you ever need to disable a accordion pane child then you need to use the getHeaderAt(i) method. For example I have an accordion with the id of “accord” and need to disable the second child in the pane until some user interaction.
accrod.getHeaderAt(1).enabled=false
accrod.getHeaderAt(1).toolTip=”Please select something”
I also made specific toolTip for the child as well. I’m pretty sure you can do the same thing in flash since this is all AS code.



After following several hunches — all wrong — I found this post… exactly what I needed, Thank You!!
Thanks…
Keep visiting
nice tip
I have an accordion component in flash with 6 tabs (children).
On opening webpage, I want to force accordion to open tab No 4 for example.
Is something like that possible?
Many thanks, Robert
[accordion instance]._header4.clickHandler();
Try that it worked for me
I am looking for a way to automatically do this depending on the webpage where the accordion opens..
For example:
I have an Accordion menu with 8 childs…
Each child opens a page where the same menu resides…
I want page 1 to be the Accordion Default … no problem here yet.
But if I change to Page 2 using the accordion.. Page two loads and I want the accordion to change to _header1. dynamically based on the either the URL or an onload function on the html.
Have anyone done this?
até q enfim achei como fazer o q eu queria.
I`m glad I found this howto
Thanks for the tip. Handy
just what i needed!
thankyou, I got this requirement and used this tip