Animate anything within Flash


Accordion Menu V3 Properties



Properties | Methods | Events | Styles | XML

Most these properties can be set in the Component Inspector (Alt + F7), also be set from XML, using the xmlPath optional parameter.

Property Type /
Component Inspector
Description
xmlPath String
Yes
Optional parameter. Sets the path to a XML file that can configure the Accordion Menu V3.

Parameters that are set from the <properties> node of the XML (xmlPath) will override parameters set from script or Component Inspector.
The <data> node will contain the menu data, entering this node is essential for the menu to display.
You don't need to use xmlPath param, you can set the XML using the setXML method.
The <styles> node will contain the styles for menu items, their movieclip states and how their text is rendered.
Usage:
componentInstance.xmlPath = "XMLMenuConfig.xml"
autoSize Boolean
Yes
If true, the menu's width will be calculated automatically. Default: false
Usage:
componentInstance.autoSize = true
closeFolderOnClick Boolean
Yes
If true, when a folder item is expanded and it gets clicked, the item will collapse, if false, the item will not collapse back until a different folder item is clicked and expands. Default: false
Usage:
componentInstance.closeFolderOnClick = true
easeType String
Yes
Sets the ease type for the sliding transition tween. Values:[easeOut, easeIn, easeInOut, none] Default: easeOut
Usage:
componentInstance.easeType ="easeOut"
embedFonts Boolean
Yes
If true, embed fonts will be used instead of device fonts. Default: false
Usage:
componentInstance.embedFonts = true
expandMode String
Yes
The expand mode of the menu. To expand one folder item at a time, choose "one", to expand all (more than one) folder items at a time choose "all". Vaues:[one,all] Default: one
Usage:
componentInstance.expandMode = "all"
indentStepSize Number
Yes
The dimension of the indent step size in pixels. This is used to left indent a child by its parent node. Default: 10
Usage:
componentInstance.indentStepSize = 5
navigationMode String
Yes
The mode of navigation with the mouse. Values:[press, release, rollover, none] Default: press
Usage:
componentInstance.navigationMode = "rollover"
selectedStateMode String
Yes
This variable is used to show the selected item (last clicked), with or without its parents, or not at all. Values:[None, Single, All] Default: Single
Usage:
componentInstance.selectedStateMode = "All"
tweening Boolean
Yes
If false, the switching between the items will be done without sliding. Default: true
Usage:
componentInstance.tweening = false
tweeningDuration Number
Yes
Sets the duration of the slide tweening in frames. Default: 20
Usage:
componentInstance.tweeningDuration = 10
tweenType String
Yes
Sets the tweening type. Values:[Regular, Strong, Bounce, Back, Elastic, None] Default: Strong
Usage:
componentInstance.tweenType = "Back"
width Number
No
Used to resize the component's width in runtime without affecting the _xscale of the component. The component will than align and resize (if needed) the content in order to show the new size.
Usage:
componentInstance.width=200

Properties | Methods | Events | Styles | XML


Free Trial Versions

The trial versions do have a major limitation. They will ONLY run into debugger flash player versions, such as the Flash IDE player and the activeX FP used by developers.

Switch from Free Trial version to Full version.

You can switch from Trial to Full versions in a blink of an eye.
See this tutorial in order to find out how.

We accept Google Checkout

Google Checkout Acceptance Mark

Secured by VeriSign