Groups - MACROMEDIA DIRECTOR MX 2004-USING DIRECTOR Use Manual

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

Advertisement

Method
deleteCamera
(
)
name
deleteCamera
(index)

Groups

Groups are collections of models and other objects that are formally associated with one another.
These associations can be created in your 3D modeling software or with script. Each 3D cast
member has a default group called world, which is the cast member.
Groups simplify the rotation and translation of models by letting all members of a group move
together with a single command. A group has a name, a transform, and a parent, and can also
have children. It has no other properties.
The following cast member methods and properties can be used to perform basic
group operations:
Method
group.count
group(name)
group[index]
newGroup(name)
deleteGroup
(name)
deleteGroup
[index]
Function
Deletes the camera named
references to this camera persist but can
do nothing.
Deletes the camera with the given index
number. Script references to this camera
persist but can do nothing.
Function
Returns the number of group objects
included in the cast member.
Returns the group named
Returns the group at the designated position
in the index. The index number can change if
groups are added or deleted.
Creates a new group and adds it to the
group object list.
Deletes the group named
references to this group persist but can
do nothing.
Deletes the group with the given index
number. Script references to this group
persist but can do nothing.
Returns
. Script
name
TRUE (1)
name
the camera named
doesn't exist.
TRUE (1)
this index number exists.
(0)
index number doesn't exist.
Returns
Integer.
.
Returns the group object
name
named
void
exist.
Returns the group object at
that index number if it exists.
Returns
not exist at that index number.
Returns a new group object
with a unique name. If the
name isn't unique, returns a
script error.
. Script
name
TRUE (1)
name
the group named
exist.
TRUE (1)
index number exists.
(0)
number doesn't exist.
if the camera named
exists.
if
FALSE (0)
name
if the camera with
FALSE
if the camera with this
if it exists. Returns
name
if the object does not
if the object does
void
if the group named
exists.
if
FALSE (0)
doesn't
name
if the group with this
FALSE
if the group with this index
Groups
323

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