MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING Reference page 150

Director scripting reference
Table of Contents

Advertisement

Method summary for the Sprite object
Method
addCamera
cameraCount()
deleteCamera
Property summary for the Sprite object
Property
antiAliasingEnabled
backColor
camera
directToStage
See also
Camera,
Member
Texture
Represents the texture applied to a shader.
You can create a reference to a texture by using the
The
property gets the texture at a specified index position in the list of textures. In
texture
Lingo, you use the
JavaScript syntax, you must use the
The following example creates a reference to the first texture of the 3D cast member
and assigns it to the variable
-- Lingo syntax
myTexture = member("triangle").texture[1]
// JavaScript syntax
var myTexture = member("triangle").getPropRef("texture", 1);
150
Chapter 8: 3D Objects
property directly from the 3D
texture
getPropRef()
.
myTexture
property of the 3D
texture
object to create a reference. In
Member
method to create a reference.
object.
Member
triangle

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