ActionScript 2.0 Components Language Reference |
|
|
|
| MenuBar component > Using the MenuBar component > MenuBar parameters | |||
You can set the following authoring parameter for each MenuBar component instance in the Property inspector or in the Component inspector (Window > Component Inspector menu option):
Labels An array that adds menu activators with the specified labels to the MenuBar component. The default value is [] (an empty array).
You can set the following additional parameters for each MenuBar component instance in the Component inspector (Window > Component Inspector):
enabled is a Boolean value that indicates whether the component can receive focus and input. The default value is true.
visible is a Boolean value that indicates whether the object is visible (true) or not (false). The default value is true.
|
NOTE |
The minHeight and minWidth properties are used by internal sizing routines. They are defined in |
You cannot access the Labels parameter using ActionScript. However, you can write ActionScript to control additional options for the MenuBar component using its properties, methods, and events. For more information, see MenuBar class.
|
|
|
|