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 below. For information on skinning the Menu
component, see
"Using skins with the Menu component" on page
The MenuBar component supports the following skin properties.
Property
menuBarBackLeftName
menuBarBackRightName
menuBarBackMiddleName
To create movie clip symbols for MenuBar skins:
Create a new FLA file.
1.
Select File > Import > Open External Library, and select the HaloTheme.fla file.
2.
This file is located in the application-level configuration folder. For the exact location on your
operating system, see
In the theme's Library panel, expand the Flash UI Components 2/Themes/MMDefault folder
3.
and drag the MenuBar Assets folder to the library for your document.
Expand the MenuBar Assets/Elements folder in the library of your document.
4.
Open the symbols you want to customize for editing.
5.
For example, open the MenuBarBackLeft symbol.
Customize the symbol as desired.
6.
For example, change the outer edge to blank.
Repeat steps 5-6 for all symbols you want to customize.
7.
For example, set the outer edges for the middle and right symbols to black.
Click the Back button to return to the main Timeline.
8.
Drag a MenuBar component to the Stage.
9.
Set MenuBar properties so that they display items on the bar.
10.
Select Control > Test Movie.
11.
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.
Description
The up state of the pop-up icon.
The down state of the pop-up icon.
The disabled state of the pop-up icon.
"About themes" on page
550.
77.
MenuBar component (Flash Professional only)
577
Need help?
Do you have a question about the FLASH MX 2004-USING COMPONENTS and is the answer not in the manual?