My account
Shopping cart
Knowledge base
Support


Accordion Panel V3 Methods



Overview | Properties | Methods | Events | Styles | XML

Method Description
click Generates a click over an item identified by its id.

Usage:
componentInstance.click(itemId)
clickByProperty Click an item identified by a property and its value.

Usage:
componentInstance.clickByProperty("myAttribute", "myValue")
collapse Collapses a folder item identified by its id.

Usage:
componentInstance.collapse(itemId)
collapseAll Collapses all items of an accordion menu.

Usage:
componentInstance.collapseAll()
collapseByProperty Collapses an item identified by a property and its value.

Usage:
componentInstance.collapseByProperty("myAttribute", "myValue")
expand Expands a folder item identified by its id.

Usage:
componentInstance.expand(itemId)
expandAll Expands all items of an accordion menu.

Usage:
componentInstance.expandAll()
expandByProperty Expands an item identified by a property and its value.

Usage:
componentInstance.expandByProperty("myAttribute", "myValue")
get Returns a reference to an item identified by its id.

Usage:
componentInstance.get(itemId):MovieClip
getByProperty Returns a reference to an item identified by a property an its value.

Usage:
componentInstance.getByProperty("myAttribute", "myValue"):MovieClip
getXML Returns the XML that fed the component.

Usage:
componentInstance.getXML():XML
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.collapse This method collapses an item but it is applied directly on it, instead of applying it on the componentInstance.

Usage:
item.collapse()
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.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)
setSize Sets the size of the component in real time

Usage:
componentInstance.setSize(100,200)
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)

Overview | Properties | Methods | Events | Styles | XML