A ProgressBar component supports the following skin properties:
Property
progTrackMiddleName
progTrackLeftName
progTrackRightName
progBarMiddleName
progBarLeftName
progBarRightName
progIndBarName
To create movie clip symbols for ProgressBar 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 ProgressBar Assets folder to the library for your document.
Expand the ProgressBar Assets/Elements folder in the library of your document.
4.
Open the symbols you want to customize for editing.
5.
For example, open the ProgIndBar symbol.
Customize the symbol as desired.
6.
For example, flip the track horizontally.
Repeat steps 5-6 for all symbols you want to customize.
7.
Click the Back button to return to the main Timeline.
8.
Drag a ProgressBar component to the Stage.
9.
To view the skins modified in this example, use ActionScript to set the
property to
true
Select Control > Test Movie.
10.
ProgressBar class
Inheritance
MovieClip >
ActionScript Class Name
Setting a property of the ProgressBar class with ActionScript overrides the parameter of the same
name set in the Property inspector or Component inspector.
Description
The expandable middle of the track. The default value is
ProgTrackMiddle
The fixed-size left cap. The default value is
The fixed-size right cap. The default value is
The expandable middle bar graphic. The default value is
ProgBarMiddle
The fixed-size left bar cap. The default value is
The fixed-size right bar cap. The default value is
The indeterminate bar graphic. The default value is
"About themes" on page
.
UIObject class
mx.controls.ProgressBar
.
.
77.
> ProgressBar
.
ProgTrackLeft
.
ProgTrackRight
.
ProgBarLeft
ProgBarRight
ProgIndBar
indeterminate
ProgressBar component
.
.
607
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