Using styles with the NumericStepper component
You can set style properties to change the appearance of a NumericStepper instance. If the
name of a style property ends in "Color", it is a color style property and behaves differently
than noncolor style properties. For more information, see "Using styles to customize
component color and text" in Using Components.
A NumericStepper component supports the following styles:
Style
themeColor
color
disabledColor
embedFonts
fontFamily
fontSize
fontStyle
fontWeight
textAlign
textDecoration
repeatDelay
Theme Description
Halo
The base color scheme of a component. Possible values
are
"haloGreen"
default value 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
must be set to
font. Otherwise, the embedded font is not used. If this
style is set to
embedded font, no text is displayed. The default value
is
.
false
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
value is
"normal"
Both
The font weight: either
value is
"none"
value
"normal"
call, but subsequent calls to
Both
The text alignment: either
The default value is
Both
The text decoration: either
default value is
Both
The number of milliseconds of delay between when a
user first presses a button and when the action begins to
repeat. The default value is 500 (half a second).
Customizing the NumericStepper component
,
, and
"haloBlue"
.
"haloGreen"
is an embedded font. This style
fontFamily
if
true
fontFamily
and
true
fontFamily
or
"normal"
.
or
"none"
"bold"
. All components can also accept the
in place of
"none"
getStyle()
,
"left"
.
"center"
"none"
.
"none"
. The
"haloOrange"
refers to an embedded
does not refer to an
.
"_sans"
. The default
"italic"
. The default
during a
setStyle()
return
.
"none"
, or
"right"
"center"
or
. The
"underline"
973
.
Need help?
Do you have a question about the FLASH 8-COMPONENTS LANGUAGE and is the answer not in the manual?
Questions and answers