Accordion Panel 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() |
| expand | Expands a folder item identified by its id. Usage: componentInstance.expand(itemId) |
| collapse | Collapses a folder item identified by its id. Usage: componentInstance.collapse(itemId) |
| click | Generates a click over an item identified by its id. Usage: componentInstance.click(itemId) |
| get | Returns a reference to an item identified by its id. Usage: componentInstance.get(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") |
| getByProperty | Returns a reference to an item identified by a property an its value. Usage: componentInstance.getByProperty("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 |
| setSize | Sets the size of the component in real time Usage: componentInstance.setSize(100,200) |
| 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() |
| item.load | This method loads content in the child item. Usage: item.load(contentPath) |
| item.setSize | Sets the size of a single item. If the AP's orientation=="vertical" the dimension parameter will represent "height" and if AP's orientation=="horizontal" the dimension will represent "width" Usage: item.setSize(dimension) |
Properties | Methods | Events | Styles | XML

