MACROMEDIA FLASH 8-COMPONENTS LANGUAGE Reference page 891

Components language reference
Table of Contents

Advertisement

About menu item XML attributes
The attributes of a menu item XML element determine what is displayed, how the menu
item behaves, and how it is exposed to ActionScript. The following table describes the
attributes of an XML menu item:
Attribute
Type
name
String
label
type
separator
check
normal
undefined
String
icon
String
instanceName
String
groupName
A Boolean value
selected
(
false
or string
(
"false"
"true"
A Boolean value
enabled
(
false
or string
(
"false"
"true"
Default
undefined
,
undefined
,
,
radio
, or
undefined
undefined
undefined
false
or
)
true
or
)
true
or
)
true
or
)
Using the Menu component (Flash Professional only)
Description
The text that is displayed to represent a menu
item. This attribute is required for all item
types, except
separator
The type of menu item:
, or
radio button
normal
submenu activator). If this attribute does not
exist, the default value is
The linkage identifier of an image asset. This
attribute is not required and is not available for
the
,
, or
check
radio
separator
An identifier that you can use to reference the
menu item instance from the root menu
instance. For example, a menu item named
yellow can be referenced as
This attribute is not required.
An identifier that you can use to associate
several radio button items in a radio group,
and to expose the state of a radio group from
the root menu instance. For example, a radio
group named colors can be referenced as
. This attribute is required only
myMenu.colors
for the type
.
radio
A Boolean or string value indicating whether a
or
item is on (
check
radio
This attribute is not required.
A Boolean or string value indicating whether
this menu item can be selected (
(
). This attribute is not required.
false
.
,
separator
check box
(a command or
.
normal
type.
.
myMenu.yellow
) or off (
).
true
false
) or not
true
887
,

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