Accordion.destroyChildAt()
Availability
Flash Player 6 (6.0.79.0).
Edition
Flash MX Professional 2004.
Usage
accordionInstance.destroyChildAt(index)
Parameters
The index number of the accordion child to destroy. Each child of an accordion is
index
assigned a zero-based index number in the order in which it was created.
Returns
Nothing.
Description
Method (inherited from View); destroys one of the accordion's children. The child to be
destroyed is specified by its index, which is passed to the method in the
parameter.
index
Calling this method destroys the corresponding header as well.
If the destroyed child is selected, a new selected child is chosen. If there is a next child, it is
selected. If there is no next child, the previous child is selected. If there is no previous child,
the selection is undefined.
Calling
decreases the
property by 1.
destroyChildAt()
numChildren
Accordion.destroyChildAt()
57
Need help?
Do you have a question about the FLASH 8-COMPONENTS LANGUAGE and is the answer not in the manual?
Questions and answers