MACROMEDIA DIRECTOR MX-USING DIRECTOR MX Use Manual page 497

Table of Contents

Advertisement

Group commands
Use these commands to work with groups:
Command
addChild(
aNode,
)
preserveWorld
child[
]
index
child(
)
name
clone(
)
name
cloneDeep(
name
addtoWorld()
getWorld
Transform()
remove from
world
isInWorld()
registerScript
(
eventName,
handlerName,
)
scriptInstance
Description
aNode
Adds
to this group's list of children. An equivalent
aNode.parent
operation is to set
preserveWorld
The
#preserveWorld
values:
#preserveWorld
value is
being added remains intact. If the value is
#preserveParent
, the child's existing transform is
interpreted as parent-relative.
Returns the child at the specified position in the index.
Returns the child named
Clones a group named
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
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 command.
Sets this group's position and orientation relative to the world
group's position and orientation.
For groups whose parent hierarchy terminates in the world,
this sets their parent to
world. Otherwise it does nothing.
For groups whose parent hierarchy terminates in the world, the
TRUE (1)
value is
.
Registers the handler named
scriptInstance
the script
sendEvent()
is called with
scriptInstance
If
The user defines what
this group
to equal
argument is optional. It can have two
#preserveParent
or
, the world transform of the child
name
.
name
, adds it to group's parent's child
""
, the clone isn't added to the
void
and removes them from the
handlerName
that is found in
when the member function
eventName
as an argument.
is 0, a movie script handler is called.
eventName
is.
Working with Models and Model Resources 497
Returns
Nothing
.
. If the
Lingo group object
Lingo group object
Lingo group object
Lingo group object
Nothing
Nothing
Nothing
TRUE (1)
FALSE
or
(0)
TRUE (1)
FALSE
or
(0)
TRUE (1)
, with
indicating that the event
FALSE
happened and
(0)
that it did not

Advertisement

Table of Contents
loading

This manual is also suitable for:

Director mx

Table of Contents