name (3D)
883
Example
This statement plays the sound file Music in sound channel 2 if the computer supports more than
one sound channel:
if the multiSound then sound playFile 2, "Music.wav"
name
Usage
-- Lingo syntax
castObjRef
.name
memberObjRef
.name
_movie.name
windowObjRef
.name
// JavaScript syntax
castObjRef
.name;
memberObjRef
.name;
_movie.name;
windowObjRef
.name;
Description
Cast, Member, Movie, and Window property; returns or sets the name of an object. Read/write
for Cast, Member, and Window objects, read-only for Movie objects.
Example
This statement changes the name of the window Yesterday to Today:
-- Lingo syntax
window("Yesterday").name = "Today"
// JavaScript syntax
window("Yesterday").name = "Today";
See also
Cast Library
,
Member
,
Movie
,
Window
name (3D)
Usage
member(
whichCastmember
).texture(
whichTexture
).name
member(
whichCastmember
).shader(
whichShader
).name
member(
whichCastmember
).motion(
whichMotion
).name
member(
whichCastmember
).modelResource(
whichModelResource
).name
member(
whichCastmember
).model(
whichModel
).name
member(
whichCastmember
).light(
whichLight
).name
member(
whichCastmember
).camera(
whichCamera
).name
member(
whichCastmember
).group(
whichGroup
).name
node
.name
Description
3D property; when used with an object reference, allows you to get the name of the referenced
object. You can only get the name; the name can’t be changed.
Summary of Contents for DIRECTOR MX 2004-DIRECTOR SCRIPTING
Page 1: ...DIRECTOR MX 2004 Director Scripting Reference...
Page 48: ...48 Chapter 2 Director Scripting Essentials...
Page 100: ...100 Chapter 4 Debugging Scripts in Director...
Page 118: ...118 Chapter 5 Director Core Objects...
Page 594: ...594 Chapter 12 Methods...
Page 684: ...684 Chapter 14 Properties See also DVD...
Page 702: ...702 Chapter 14 Properties See also face vertices vertices flat...
Page 856: ...856 Chapter 14 Properties JavaScript syntax sprite 15 member member 3 4...
Page 1102: ...1102 Chapter 14 Properties...