User Guide
560 Chapter 6: Components Dictionary
Menu.hide()
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX Professional 2004.
Usage
myMenu.hide()
Parameters
None.
Returns
Nothing.
Description
Method; closes a menu.
Example
The following example retracts an extended menu:
myMenu.hide();
See also
Menu.show()
Menu.indexOf()
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX Professional 2004.
Usage
myMenu.indexOf(item)
Parameters
item
A reference to an XML node that describes a menu item.
Returns
The index of the specified menu item, or undefined if the item does not belong to this menu.
Description
Method; returns the index of the specified menu item within this menu instance.