User Guide
454 Chapter 12: Methods
playFromToTime()
Usage
-- Lingo syntax
windowsMediaObjRef.playFromToTime(intStartTime, intEndTime)
// JavaScript syntax
windowsMediaObjRef.playFromToTime(intStartTime, intEndTime);
Description
Windows Media sprite method. Starts playback from a specified start time and plays to a specified
end time.
Parameters
intStartTime
Required. An integer that specifies the time, in milliseconds, at which playback
begins.
intEndTime Required. An integer that specifies the time, in milliseconds, at which playback ends.
Example
This statement specifies that the sprite named Video should play from the 30 second mark to the
40 second mark.
-- Lingo syntax
sprite("Video").playFromToTime(30000, 40000)
// JavaScript syntax
sprite("Video").playFromToTime(30000, 40000);
See also
Windows Media
playNext() (Sound Channel)
Usage
-- Lingo syntax
soundChannelObjRef.playNext()
// JavaScript syntax
soundChannelObjRef.playNext();
Description
Sound Channel method; immediately interrupts playback of the current sound playing in a
sound channel and begins playing the next queued sound.
If no more sounds are queued in the given channel, the sound simply stops playing.
Parameters
None.