colorObjOrIntValue
reference to a color object that specifies the color of the pixel, or an integer that specifies the color
value of the pixel.
Example
This Lingo statement draws a horizontal black line 50 pixels from left to right in cast member 5:
See also
color(), draw(), fill(), getPixel(),
setPlayList()
Usage
-- Lingo syntax
soundChannelObjRef.setPlayList(linearListOfPropLists)
// JavaScript syntax
soundChannelObjRef.setPlayList(linearListOfPropLists);
Description
Sound Channel method; sets or resets the playlist of a sound channel.
This method is useful for queueing several sounds at once.
To see an example of
in the Learning/Lingo folder inside the Director application folder.
Parameters
linearListOfPropLists
playlist. You can specify these parameters for each sound to be queued:
Property
#member
#startTime
#endTime
#loopCount
#loopStartTime
#loopEndTime
#preloadTime
Required if setting the color to a color object or an integer value. A
used in a completed movie, see the Sound Control movie
setPlaylist()
Required. A linear list of property lists that specifies parameters of a
Description
The sound cast member to queue. This property must be provided; all others
are optional.
The time within the sound at which playback begins, in milliseconds. The default
is the beginning of the sound. See
The time within the sound at which playback ends, in milliseconds. The default is
the end of the sound. See
The number of times to play a loop defined with
. The default is 1. See
#loopEndTime
The time within the sound to begin a loop, in milliseconds. See
The time within the sound to end a loop, in milliseconds. See
The amount of the sound to buffer before playback, in milliseconds.
See
.
preloadTime
image()
.
startTime
.
endTime
#loopStartTime
.
loopCount
and
.
loopStartTime
.
loopEndTime
setPlayList()
533
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