Class template.MainMenu

Description

This is the main menu class for the template.

The following events are dispatched by this class:

MenuItemClicked - dispatched when the a menu item is clicked. It's event object has all the properties put in the menu's XML file for that particular item

MainMenuInit - dispatched afer the initialization the menu items

Field Index

visible

Inherited from GenericMenu

Inherited from DisplayObject

Method Index

new MainMenu()
disable(), enable(), getLinkByNum()

Inherited from GenericMenu

Inherited from DisplayObject

Constructor Detail

MainMenu

public function MainMenu()

Field Detail

visible

public visible:Boolean [Write Only]

Method Detail

enable

public function enable()

Use this function to enable all the items of the menu.

disable

public function disable()

getLinkByNum

public function getLinkByNum(num:Number)