Using styles with the Accordion component
You can set style properties to change the appearance of the border and background of an
Accordion component.
An Accordion component uses the following styles:
Style
themeColor
backgroundColor
borderStyle
headerHeight
color
disabledColor
embedFonts
fontFamily
fontSize
fontStyle
fontWeight
Theme
Description
Halo
The base color scheme of a component. This is the only color
style that doesn't inherit its value. Possible values are
"
haloGreen
Both
The background color. The default color is white.
Both
The Accordion component uses a RectBorder instance as its
border and responds to the styles defined on that class. For
more information, see
The Accordion component's default border style value is
"
".
solid
Both
The height of the header buttons, in pixels. The default value
is 22.
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
if
true
fontFamily
embedded font is not used. If this style is set to
fontFamily
displayed. The default value is
Both
The font name for the header labels. The default value is
.
"_sans"
Both
The point size for the font of the header labels. The default
value is 10.
Both
The font style for the header labels; either
. The default value is
"italic"
Both
The font weight for the header labels; either
The default value is
All components can also accept the value
" during a
"none
getStyle()
Customizing the Accordion component (Flash Professional only)
", "
", and "
haloBlue
haloOrange
"RectBorder class" on page
is an embedded font. This style must be set to
refers to an embedded font. Otherwise, the
does not refer to an embedded font, no text is
false
"normal"
.
"none"
call, but subsequent calls to
setStyle()
return
".
"none
".
1063.
and
true
.
or
"normal"
.
or
"none"
"bold"
in place of
"normal"
.
41
Need help?
Do you have a question about the FLASH 8-COMPONENTS LANGUAGE and is the answer not in the manual?
Questions and answers