Accordion Menu V3 Methods
Properties | Methods | Events | Styles | XML
| Method | Description |
| expandAll | Expands all items of an accordion menu. Usage: componentInstance.expandAll() |
| collapseAll | Collapses all items of an accordion menu. Usage: componentInstance.collapseAll() |
| expandItem | Expands a folder item identified by its id. Usage: componentInstance.expandItem(itemId) |
| collapseItem | Collapses a folder item identified by its id. Usage: componentInstance.collapseItem(itemId) |
| clickItem | Generates a click over an item identified by its id. Usage: componentInstance.clickItem(itemId) |
| getItemById | Returns a reference to an item identified by its id. Usage: componentInstance.getItemById(itemId):MovieClip |
| expandByProperty | Expands an item identified by a property and its value. Usage: componentInstance.expandByProperty("myAttribute", "myValue") |
| collapseByProperty | Collapses an item identified by a property and its value. Usage: componentInstance.collapseByProperty("myAttribute", "myValue") |
| clickByProperty | Click an item identified by a property and its value. Usage: componentInstance.clickByProperty("myAttribute", "myValue") |
| getItemByProperty | Returns a reference to an item identified by a property an its value. Usage: componentInstance.getItemByProperty("myAttribute", "myValue"):MovieClip |
| setXML | Sets an XML for the component. You can pass a XML V3 standard to the component using this method. Usage: componentInstance.setXML(myxml:XML) |
| getXML | Returns the XML that fed the component. Usage: componentInstance.getXML():XML |
| item.expand | This method expands an item but it is applied directly on it, instead of applying it on the componentInstance. Usage: item.expand() |
| item.collapse | This method collapses an item but it is applied directly on it, instead of applying it on the componentInstance. Usage: item.collapse() |
| item.click | This method generates a click on an item but it is applied directly on it, instead of applying it on the componentInstance. Usage: item.click() |
Properties | Methods | Events | Styles | XML


