MACROMEDIA FLASH MX 2004-USING COMPONENTS Use Manual page 606

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

Advertisement

A ProgressBar component supports the following styles:
Style
themeColor
color
disabledColor
embedFonts
fontFamily
fontSize
fontStyle
fontWeight
textDecoration
barColor
trackColor
Using skins with the ProgressBar component
The ProgressBar component uses skins to represent the progress bar track, the completed bar, and
an indeterminate bar. To skin the ProgressBar component while authoring, modify symbols in the
Flash UI Components 2/Themes/MMDefault/ProgressBar Elements folder. For more
information, see
The track and bar graphics are each made up of three skins corresponding to the left and right
caps and the middle. The caps are used "as is," and the middle is resized horizontally to fit the
width of the ProgressBar instance.
The indeterminate bar is used when the ProgressBar instance's
. The skin is resized horizontally to fit the width of the progress bar.
true
606
Chapter 6: Components Dictionary
Theme Description
Halo
The base color scheme of a component. Possible values are
"haloGreen"
is
Both
The text color. The default value is 0x0B333C for the Halo
theme and blank for the Sample theme.
Both
The color for text when the component is disabled. The default
color is 0x848384 (dark gray).
Both
A Boolean value that indicates whether the font specified in
fontFamily
true
embedded font will not be used. If this style is set to
fontFamily
displayed. The default value is
Both
The font name for text. The default value is
Both
The point size for the font. The default value is 10.
Both
The font style: either
is
Both
The font weight: either
is
in place of
calls to
Both
The text decoration: either
value is
Sample The foreground color in denoting the percent complete. The
default color is white. To set the bar color on a Halo-themed
component, set the
Sample The background color for the bar. The default value is
0x666666 (dark gray).
"About skinning components" on page
,
, and
"haloBlue"
.
"haloGreen"
is an embedded font. This style must be set to
if
refers to an embedded font. Otherwise, the
fontFamily
does not refer to an embedded font, no text will be
"normal"
.
"normal"
"none"
. All components can also accept the value
"none"
during a
"none"
will return
getStyle()
.
"none"
themeColor
80.
. The default value
"haloOrange"
.
false
"_sans"
or
. The default value
"italic"
or
. The default value
"bold"
call, but subsequent
setStyle()
.
"none"
or
. The default
"none"
"underline"
style property.
property is set to
indeterminate
and
true
.
"normal"

Advertisement

Table of Contents
loading
Need help?

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

This manual is also suitable for:

Flash mx

Table of Contents