Disabling page in accordion
June 26, 2006 13 Comments
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).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.