A CheckBox component supports the following styles:
Style
themeColor
color
disabledColor
embedFonts
fontFamily
fontSize
fontStyle
fontWeight
textDecoration
symbolBackgroundColor
symbolBackgroundDisabledColor
symbolBackgroundPressedColor
Theme Description
Halo
The base color scheme of a component.
Possible values are
and
"haloOrange"
"haloGreen"
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
This style must be set to
to an embedded font. Otherwise, the embedded
font is not used. If this style is set to
fontFamily
no text is displayed. The default value is
Both
The font name for text. The default value is
.
"_sans"
Both
The point size for the font. The default value is
10.
Both
The font style: either
default value is
Both
The font weight: either
default value is
accept the value
during a
setStyle()
getStyle()
Both
The text decoration: either
"underline"
Sample
The background color of the check box. The
default value is 0xFFFFFF (white).
Sample
The background color of the check box when
disabled. The default value is 0xEFEEEF (light
gray).
Sample
The background color of the check box when
pressed. The default value is 0xFFFFFF (white).
Customizing the CheckBox component
,
"haloGreen"
. The default value is
.
is an embedded font.
fontFamily
if
true
fontFamily
does not refer to an embedded font,
or
"normal"
.
"normal"
or
"none"
. All components can also
"none"
in place of
"normal"
call, but subsequent calls to
return
.
"none"
"none"
. The default value is
,
"haloBlue"
refers
and
true
.
false
. The
"italic"
. The
"bold"
"none"
or
.
"none"
133
Need help?
Do you have a question about the FLASH 8-COMPONENTS LANGUAGE and is the answer not in the manual?
Questions and answers