Style
embedFonts
fontFamily
fontSize
fontStyle
fontWeight
textAlign
textDecoration
textIndent
defaultIcon
popupDuration
rollOverColor
898
Menu component (Flash Professional only)
n
Description
Both
A Boolean value that indicates whether the font
specified in
style must be set to
embedded font. Otherwise, the embedded font is not
used. If this style is set to
not refer to an embedded font, no text is
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
default value is
Both
The font weight: either
value is
"none"
value
"normal"
call, but subsequent calls to
Both
The text alignment: either
. The default value is
"center"
Both
The text decoration: either
default value is
Both
A number indicating the text indent. The default value
is 0.
Both
The name of the default icon to display on each row.
The default value is
displayed. The icon property is not required, does not
work for "check", "radio", or "separator" items, and
uses the linkage identifier of an image asset as the
value parameter. All menu items show the same icon.
Both
The duration of the transition as a menu opens. The
value is specified in milliseconds; 0 indicates no
transition. The default value is 150.
Both
The background color of a rolled-over row. The
default value is 0xE3FFD6 (bright green) with the
Halo theme and 0xAAAAAA (light gray) with the
Sample theme.
When
themeColor
call, the framework sets
related to the
is an embedded font. This
fontFamily
if
true
fontFamily
and
true
false
or
"normal"
.
"normal"
or
"none"
"bold"
. All components can also accept the
in place of
"none"
getStyle()
,
"left"
"left"
"none"
.
"none"
, which means no icon is
undefined
is changed through a setStyle()
rollOverColor
chosen.
themeColor
refers to an
does
fontFamily
.
.
"_sans"
. The
"italic"
. The default
during a
setStyle()
return
.
"none"
, or
"right"
.
or
. The
"underline"
to a value
Need help?
Do you have a question about the FLASH 8-COMPONENTS LANGUAGE and is the answer not in the manual?
Questions and answers