Field Summary |
public
| addEventListener: Function |
| See the EventDispatcher Class in Flash Help
|
|
public
| changeHandler: Function |
| Can be used to assign a direct event handler to the component instance.
|
|
public
| focusHandler: Function |
| Can be used to assign a direct event handler to the component instance.
|
|
public
| killFocusHandler: Function |
| Can be used to assign a direct event handler to the component instance.
|
|
public
| removeEventListener: Function |
| See the EventDispatcher Class in Flash Help
|
|
public
| tabFocusHandler: Function |
| Can be used to assign a direct event handler to the component instance.
|
|
|
Property Summary |
public
| autoSizeContents: Boolean (write)
|
| Sets the autoSizeContent mode. If true, each content clip will be sized to the available space. Content clip must support a setSize(w ,h) method.
|
|
public
| autoSizeContents: Boolean (read)
|
| Gets the autoSizeContent mode.
|
|
public
| content: Array (read-only)
|
| An array containing references to the attached movie clip in each section.
|
|
public
| selectedIndex: Number (write)
|
| Selects the specified section
|
|
public
| selectedIndex: Number (read)
|
| Returns the number of the currently selected section
|
|
|
|
Constructor |
public
| Accordion (
Void)
|
|
|
|
Method Summary |
public
| addSection (
title: String, contentPath: String, icon: String
): Void |
| Adds a new section to the accordion
|
|
public
| addSectionAt (
title: String, contentPath: String, icon: String, index: Number
): Void |
| Adds a new section to the accordion at the specified position
|
|
public static
| create (
target: MovieClip, id: String, depth: Number, initObj: Object
): Accordion |
| Static method used to create an instance of an Accordion on stage at run time.
|
|
public
| removeAll (
Void
): Void |
| Removes all sections from the accordion
|
|
public
| removeSectionAt (
index: Number
): Void |
| Removes the section at the specified index
|
|
|
|