User Guide

child (XML) 687
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 (3D)
Usage
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 nodes 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 parents 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
child (XML)
Usage
XMLnode.child[ childNumber ]
Description
XML property; refers to the specified child node of a parsed XML documents nested
tag structure.