Example
The following example of a label function builds and returns a custom label from the node
attributes:
myMenuBar.labelFunction = function(node){
var a = node.attributes;
return "The Price for " + a.name + " is " + a.price;
};
MenuBar.removeMenuAt()
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX Professional 2004.
Usage
myMenuBar.removeMenuAt(index)
Parameters
The index of the menu to be removed from the menu bar.
index
Returns
A reference to the menu at the specified index in the menu bar. This value is
no menu in that position in the menu bar.
Description
Method; removes the menu at the specified index. If there is no menu item at that index, calling
this method has no effect.
Example
The following example removes the menu at index 4:
myMenuBar.removeMenuAt(4);
MenuBar.setMenuEnabledAt()
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX Professional 2004.
Usage
myMenuBar.setMenuEnabledAt(index, boolean)
Parameters
The index of the menu item to set in the MenuBar instance.
index
586
Chapter 6: Components Dictionary
if there is
undefined
Need help?
Do you have a question about the FLASH MX 2004-USING COMPONENTS and is the answer not in the manual?
Questions and answers