MACROMEDIA DIRECTOR MX 2004-USING DIRECTOR Use Manual page 364

Hide thumbs Also See for DIRECTOR MX 2004-USING DIRECTOR:
Table of Contents

Advertisement

Group methods
Use these methods to work with groups:
Method
addChild(aNode,
preserveWorld)
child[index]
child(name)
clone(name)
cloneDeep(name)
addtoWorld()
remove from world
isInWorld()
364
Chapter 16: Working with Models and Model Resources
Description
Adds
to this group's list of children. An
aNode
equivalent operation is to set
.
this group
The
argument is optional. It can have
preserveWorld
two values:
#preserveWorld
value is
#preserveWorld
child being added remains intact. If the value is
, the child's existing transform is
#preserveParent
interpreted as parent-relative.
Returns the child at the specified position in the index. Script group object
Returns the child named
Clones a group named
child list, and adds it to world
All children of the group are automatically cloned. This
can be avoided by removing the children, performing
the cloning operation, and then adding the children
back.
If the name is omitted or is
the group palette, has no parent, and has no children.
This option lets you quickly create temporary group
instances.
Clones both the group and the parent used by the
group's children. Modifications to the clones' resource
don't affect the parent.
This is a more memory-intensive operation than
.
clone(name)
Adds the group to the currently active 3D world,
setting its parent as "world."
Equivalent to
group.parent=member("scene").group
.
("world")
All newly created groups are added to the world by
default, without it being necessary to use this method.
For groups whose parent hierarchy terminates in the
world, this sets their parent to
from the world. Otherwise it does nothing.
For groups whose parent hierarchy terminates in the
world, the value is
TRUE (1)
to equal
aNode.parent
or
#preserveParent
, the world transform of the
.
name
, adds it to group's parent's
name
, the clone isn't added to
""
and removes them
void
.
Returns
Nothing
. If the
Script group object
Script group object
Script group object
Nothing
Nothing
or
TRUE (1)
FALSE (0)

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DIRECTOR MX 2004-USING DIRECTOR and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Director mx 2004

Table of Contents