MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING Reference page 146

Director scripting reference
Table of Contents

Advertisement

Property summary for the Member object
Property
ambientColor
animationEnabled
bevelDepth
bevelType
bytesStreamed (3D)
camera
cameraPosition
cameraRotation
diffuseColor
directionalColor
directionalPreset
directToStage
displayFace
displayMode
group
light
See also
Camera, Group, Light, Model,
Model
Represents a visible object that a user sees within a 3D world.
A model makes use of a model resource and occupies a specific position and orientation with a
3D world. A model resource is an element of 3D geometry that can be used to draw 3D models.
A model also defines the appearance of the model resource, such as what textures and shaders are
used. For more information about the relationship between models and model resources, see the
Using Director topics in the Director Help Panel.
You can create a reference to a model by using the
property gets the model at a specified index position in the list of models. In Lingo, you
model
use the
property directly from the 3D
model
syntax, you must use the
The following example creates a reference to the second model of the 3D cast member
Transportation
-- Lingo syntax
myModel = member("Transportation").model[2]
// JavaScript syntax
var myModel = member("Transportation").getPropRef("model", 2);
146
Chapter 8: 3D Objects
Model
getPropRef()
and assigns it to the variable
loop (3D)
model
modelResource
motion
percentStreamed (3D)
preLoad (3D)
reflectivity
shader
smoothness
specularColor
state (3D)
streamSize (3D)
texture
textureMember
textureType
tunnelDepth
Resource, Motion, Shader, Sprite,
property of the 3D
model
object to create a reference. In JavaScript
Member
method to create a reference.
.
myModel
Texture
object. The
Member

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

This manual is also suitable for:

Director mx 2004

Table of Contents