Event
UIObject.resize
UIObject.reveal
UIObject.unload
Events inherited from the UIComponent class
The following table lists the events the MenuBar class inherits from the UIComponent class.
When calling these events from the MenuBar object, use the form
Event
UIComponent.focusIn
UIComponent.focusOut
UIComponent.keyDown
UIComponent.keyUp
MenuBar.addMenu()
Availability
Flash Player 6 (6.0.79.0).
Edition
Flash MX Professional 2004.
Usage
Usage 1:
menuBarInstance.addMenu(label)
Usage 2:
menuBarInstance.addMenu(label, menuDataProvider)
Parameters
A string indicating the label of the new menu.
label
menuDataProvider
If the value is an XML instance, the instance's first child is used.
Description
Broadcast when an object has been resized.
Broadcast when an object's state changes from invisible to
visible.
Broadcast when the subobjects are being unloaded.
Description
Broadcast when an object receives focus.
Broadcast when an object loses focus.
Broadcast when a key is pressed.
Broadcast when a key is released.
An XML or XMLNode instance that describes the menu and its items.
MenuBar.eventName
MenuBar.addMenu()
.
955
Need help?
Do you have a question about the FLASH 8-COMPONENTS LANGUAGE and is the answer not in the manual?
Questions and answers