972
Chapter 14: Properties
score
Usage
-- Lingo syntax
_movie.score
// JavaScript syntax
_movie.score;
Description
Movie property; determines which Score is associated with the current movie. Read/write.
This property can be useful for storing the current contents of the Score before wiping out and
generating a new one or for assigning the current Score contents to a film loop.
Example
This statement assigns the film loop cast member Waterfall to the Score of the current movie:
-- Lingo syntax
_movie.score = member("Waterfall").media
// JavaScript syntax
_movie.score = member("Waterfall").media;
See also
Movie
scoreColor
Usage
sprite(
whichSprite
).scoreColor
the scoreColor of sprite
whichSprite
Description
Sprite property; indicates the Score color assigned to the sprite specified by
whichSprite
. The
possible values correspond to color chips 0 to 5 in the current palette.
This property can be tested and set. Setting this property is useful only during authoring and
Score recording.
Example
This statement displays in the Message window the value for the Score color assigned to sprite 7:
put sprite(7).scorecolor
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...