About Menu Item Types (Flash Professional Only) - MACROMEDIA FLASH 8-COMPONENTS LANGUAGE Reference

Components language reference
Table of Contents

Advertisement

About menu item types (Flash
Professional only)
There are four kinds of menu items, specified by the
<menu>
<menuitem label="Normal Item" />
<menuitem type="separator" />
<menuitem label="Checkbox Item" type="check" instanceName="check_1"/>
<menuitem label="RadioButton Item" type="radio"
groupName="radioGroup_1" />
</menu>
Normal menu items
The
menu item doesn't have a
Normal Item
attribute defaults to
normal
activators, depending on whether they have nested subitems.
Separator menu items
A menu item whose
type
The following XML creates three menu items, Top, Middle, and Bottom, with separators
between them:
<menu>
<menuitem label="Top" />
<menuitem type="separator" />
<menuitem label="Middle" />
<menuitem type="separator" />
<menuitem label="Bottom" />
</menu>
All separator items are disabled. Clicking on or rolling over a separator has no effect.
Check box menu items
A menu item whose
type
the
attribute is set to
selected
When a check box item is selected, its state automatically toggles, and a
broadcast to all listeners on the root menu. However, although a check box menu item
behaves similarly to a CheckBox component, a check box menu item appears visually without
the box surrounding the check. So an unselected check box menu item looks like a normal
menu item until selected.
888
Menu component (Flash Professional only)
type
. Normal items can be command activators or submenu
attribute is set to
separator
attribute is set to
check
, a check mark appears beside the menu item's label.
true
attribute:
type
attribute, which means that the
acts as a visual divider in a menu.
acts as check box item in the menu; when
type
event is
change

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