My account
Shopping cart
Knowledge base
Support


Drop Down Tree Menu V3 Properties



Overview | 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
easeTypeIn String
Yes
Sets the ease type for the drop in transition tween. Values: [easeOut, easeIn, easeInOut, none]

Default: easeOut

Usage:
componentInstance.easeTypeIn = "easeIn"
easeTypeOut String
Yes
Sets the ease type for the drop out transition tween. Values: [easeOut, easeIn, easeInOut, none]

Default: easeIn

Usage:
componentInstance.easeTypeOut = "easeOut"
embedFonts Boolean
Yes
If true, embed fonts will be used instead of device fonts.

Default: false

Usage:
componentInstance.embedFonts = true
navigationMode String
Yes
The mode of navigation with the mouse. Values: [press, release, rollover, none]

Default: rollover

Usage:
componentInstance.navigationMode = "press"
orientation String
Yes
Sets the orientation of the main menu. Values: [horizontal, vertical]

Default: horizontal

Usage:
componentInstance.orientation = "vertical"
tweening Boolean
Yes
If false, the switching between the items will be done without sliding.

Default: true

Usage:
componentInstance.tweening = false
tweeningDurationIn Number
Yes
Sets the duration of the slide tweening in frames.

Default: 20

Usage:
componentInstance.tweeningDurationIn = 10
tweeningDurationOut Number
Yes
Sets the duration of the slide tweening in frames.

Default: 20

Usage:
componentInstance.tweeningDurationOut = 10
tweenTypeIn String
Yes
Sets the tweening type. Values: [Regular, Strong, Bounce, Back, Elastic, None]

Default: Back

Usage:
componentInstance.tweenTypeIn = "Strong"
tweenTypeOut String
Yes
Sets the tweening type. Values: [Regular, Strong, Bounce, Back, Elastic, None]

Default: Back

Usage:
componentInstance.tweenTypeOut = "Strong"
width Number
No
Used to resize the component's width in runtime without affecting the _xscale/scaleX 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
xmlPath String
Yes
Optional parameter. Sets the path to a XML file that can configure the Drop Down Tree 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"

Overview | Properties | Methods | Events | Styles | XML