MACROMEDIA FLASH MX 2004-USING COMPONENTS Use Manual page 585

Using components
Hide thumbs Also See for FLASH MX 2004-USING COMPONENTS:
Table of Contents

Advertisement

Description
Method; returns a Boolean value that indicates whether this menu can be chosen (
not (
).
false
Example
The following example calls the method on the menu in the first position of
myMenuBar.getMenuEnabledAt(0);
MenuBar.labelField
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX Professional 2004.
Usage
myMenuBar.labelField
Description
Property; a string that determines which attribute of each XML node to use as the label text of the
menu. This property is also passed to any menus that are created from the menu bar. The default
value is
"label"
After the
dataProvider
Example
The following example uses the
myMenuBar.labelField = "name";
MenuBar.labelFunction
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX Professional 2004.
Usage
myMenuBar.labelFunction
Description
Property; a function that determines what to display in each menu's label text. The function
accepts the XML node associated with an item as a parameter and returns a string to be used as
label text. This property is passed to any menus created from the menu bar. The default value
is
.
undefined
After the
dataProvider
.
property is set, this property is read-only.
attribute of each node as the label text:
name
property is set, this property is read-only.
MenuBar component (Flash Professional only)
) or
true
:
myMenuBar
585

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash mx

Table of Contents