enabled
Usage
the enabled of menuItem whichItem of menu whichMenu
Description
Menu item property; determines whether the menu item specified by
plain text and is selectable (
The expression
whichItem
expression
whichMenu
The enabled property can be tested and set.
Note: Menus are not available in Shockwave Player.
Example
This handler enables or disables all the items in the specified menu. The argument
specifies the menu; the argument
statement
ableMenu (
on ableMenu theMenu, vSetting
set n = the number of menuItems of menu theMenu
repeat with i = 1 to n
set the enabled of menuItem i of menu theMenu to vSetting
end repeat
end ableMenu
See also
name (menu
property),
enabled (collision)
Usage
member(whichCastmember).model(whichModel).collision.enabled
Description
3D collision property; allows you to get or set whether (
detected on models. Setting this property to
without removing it from the model.
The default setting for this property is
Example
This statement activates the
member("3d world").model("box").collision.enabled = TRUE
See also
addModifier,
752
Chapter 14: Properties
default) or appears dimmed and is not selectable (
TRUE,
can be either a menu item name or a menu item number. The
can be either a menu name or a menu number.
Setting
"
"
Special
, FALSE)
number
(menus), checkMark, script,
collision
collision
(modifier),
specifies
or
TRUE
FALSE
disables all the items in the Special menu.
TRUE
temporarily disables the
FALSE
TRUE.
modifier for the model box:
modifier
is displayed in
whichItem
. For example, the calling
number (menu items)
) or not (
) collisions are
FALSE
collision
).
FALSE
theMenu
modifier
Need help?
Do you have a question about the DIRECTOR MX 2004-DIRECTOR SCRIPTING and is the answer not in the manual?
Questions and answers