Customizing The Menu Component (Flash Professional Only) - MACROMEDIA FLASH 8-COMPONENTS LANGUAGE Reference

Components language reference
Table of Contents

Advertisement

Customizing the Menu component (Flash
Professional only)
The menu sizes itself horizontally to fit its widest text. You can also call the
method to size the component. Icons should be sized to a maximum of 16 by 16 pixels.
Using styles with the Menu component
You can call the
setStyle()
submenus.The Menu component supports the following styles:
Style
themeColor
alternatingRowColors
backgroundColor
backgroundDisabledColor
borderStyle
color
disabledColor
method to change the style of the menu, its items, and its
n
Description
Halo
The base color scheme of a component. Possible
values are
"haloGreen"
The default value is
Both
Specifies colors for rows in an alternating pattern.
The value can be an array of two or more colors, for
example, 0xFF00FF, 0xCC6699, and 0x996699.
Unlike single-value color styles,
alternatingRowColors
the values must be numeric color codes. By default,
this style is not set, and
place for all rows.
Both
The background color of the menu. The default color
is white and is defined on the class style declaration.
This style is ignored if
specified.
Both
The background color when the component's
property is set to "
0xDDDDDD (medium gray).
Both
The Menu component uses a RectBorder instance as
its border and responds to the styles defined on that
class. See
The default border style is
Both
The text color.
Both
The color for text when the component is disabled.
The default color is 0x848384 (dark gray).

Customizing the Menu component (Flash Professional only)

,
"haloBlue"
"haloGreen"
does not accept color names;
backgroundColor
alternatingRowColors
. The default value is
false"
"RectBorder class" on page
"menuBorder"
setSize()
, and
.
"haloOrange"
.
is used in its
is
enabled
1063.
.
897

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-COMPONENTS LANGUAGE and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Flash 8

Table of Contents