-- Lingo syntax windowsMediaObjRef.playFromToTime(intStartTime, intEndTime) // JavaScript syntax windowsMediaObjRef.playFromToTime(intStartTime, intEndTime);
Windows Media sprite method. Starts playback from a specified start time and plays to a specified end time.
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.
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);