Using styles with the RadioButton component
You can set style properties to change the appearance of a RadioButton. 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 RadioButton component uses the following styles:
Style
themeColor
color
disabledColor
embedFonts
fontFamily
fontSize
fontStyle
fontWeight
textDecoration
1026
RadioButton component
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
refers to an embedded font. Otherwise, the
embedded font is not used. If this style is set to
and
true
fontFamily
embedded font, no text is displayed. The default
value is
false
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"
,
"haloGreen"
. The default value is
.
is an embedded font.
fontFamily
if
true
fontFamily
does not refer to an
.
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"
. The
"italic"
. The
"bold"
"none"
or
.
"none"
Need help?
Do you have a question about the FLASH 8-COMPONENTS LANGUAGE and is the answer not in the manual?