User Guide

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