User Guide

Chapter 3130
checkMark
Syntax
the checkMark of menuItem whichItem of menu whichMenu
Description
Menu item property; determines whether a check mark appears next to the custom menu item
(
TRUE) or not (FALSE, default).
The
whichItem value can be either a menu item name or a menu item number. The whichMenu
value can be either a menu name or a menu number.
This property can be tested and set.
Note: Menus are not available in Shockwave
Example
This handler turns off any items that are checked in the custom menu specified by the argument
theMenu. For example, unCheck ("Format") turns off all the items in the Format menu.
on unCheck theMenu
set n = the number of menuItems of menu theMenu
repeat with i = 1 to n
set the checkMark of menuItem i of menu theMenu to FALSE
end repeat
end unCheck
See also
installMenu, enabled, name (menu item property), number (menu items), script, menu
child
Syntax
member(whichCastmember).model(whichParentNode).\
child(whichChildNodeName)
member(whichCastmember).model(whichParentNode).child[index]
Description
3D model, group, light, and camera property; returns the child node named
whichChildNodeName or at the specified index in the parent node’s list of children. A node is a
model, group, camera, or light.
The transform of a node is parent-relative. If you change the position of the parent, its children
move with it, and their positions relative to the parent are maintained. Changes to the rotation
and scale properties of the parent are similarly reflected in its children.
Use the
addChild method of the parent node or set the parent property of the child node to add
to the parent’s list of children. A child can have only one parent, but a parent can have any
number of children. A child can also have children of its own.
Example
This statement shows that the second child of the model named Car is the model named Tire.
put member("3D").model("Car").child[2]
-- model("Tire")
See also
addChild, parent