Method summary for the Menu class
The following table lists methods of the Menu class.
Method
Menu.addMenuItem()
Menu.addMenuItemAt()
Menu.createMenu()
Menu.getMenuItemAt()
Menu.hide()
Menu.indexOf()
Menu.removeAll()
Menu.removeMenuItem()
Menu.removeMenuItemAt()
Menu.setMenuItemEnabled()
Menu.setMenuItemSelected()
Menu.show()
Methods inherited from the UIObject class
The following table lists the methods the Menu class inherits from the UIObject class. When
calling these methods from the Menu object, use the form
Method
UIObject.createClassObject()
UIObject.createObject()
UIObject.destroyObject()
UIObject.doLater()
UIObject.getStyle()
UIObject.invalidate()
UIObject.move()
902
Menu component (Flash Professional only)
Description
Adds a menu item to the menu.
Adds a menu item to the menu at a specific location.
Creates an instance of the Menu class. This is a static
method.
Gets a reference to a menu item at a specified location.
Closes a menu.
Returns the index of a given menu item.
Removes all items from a menu.
Removes the specified menu item.
Removes a menu item from a menu at a specified location.
Indicates whether a menu item is enabled (
(
).
false
Indicates whether a menu item is selected (
(
).
false
Opens a menu at a specific location or at its previous
location.
Description
Creates an object on the specified class.
Creates a subobject on an object.
Destroys a component instance.
Calls a function when parameters have been set in the
Property and Component inspectors.
Gets the style property from the style declaration or object.
Marks the object so it is redrawn on the next frame interval.
Moves the object to the requested position.
) or not
true
) or not
true
MenuInstance.methodName
.
Need help?
Do you have a question about the FLASH 8-COMPONENTS LANGUAGE and is the answer not in the manual?
Questions and answers