ActionScript 2.0 Components Language Reference |
|
|
|
| MenuBar component > Customizing the MenuBar component > Using skins with the MenuBar component | |||
The MenuBar component uses three skins to represent its background, uses a movie clip symbol for highlighting individual items, and contains a Menu component as the pop-up, which itself is skinnable. The MenuBar skins are described in the following table. For information about skinning the Menu component, see Using skins with the Menu component.
The MenuBar component supports the following skin properties.
|
Property |
Description |
|---|---|
menuBarBackLeftName
|
The up state of the pop-up icon |
menuBarBackRightName
|
The down state of the pop-up icon |
menuBarBackMiddleName
|
The disabled state of the pop-up icon |
To create movie clip symbols for MenuBar skins:This file is located in the application-level configuration folder. For the exact location on your operating system, see About themes in Using ActionScript 2.0 Components.
For example, open the MenuBarBackLeft symbol.
For example, change the outer edge to blank.
For example, set the outer edges for the middle and right symbols to black.
|
NOTE |
The border used to highlight individual items in a MenuBar component is an instance of ActivatorSkin found in the Flash UI Components 2/Themes/MMDefault/Button Assets folder. This symbol can be customized to point to a different class to provide a different border. However, the symbol name cannot be modified, and you cannot use a different symbol for different MenuBar instances in a single document. |
|
|
|
|