User Guide
currentTime (QuickTime, AVI) 717
currentTime (DVD)
Usage
-- Lingo syntax
dvdObjRef.currentTime
// JavaScript syntax
dvdObjRef.currentTime;
Description
DVD property; returns the elapsed time, in milliseconds. Read/write.
Example
This statement returns the elapsed time:
-- Lingo syntax
trace (member(1).currentTime) -- 11500
// JavaScript syntax
trace (member(1).currentTime); // 11500
This statement sets currentTime to a specific point in the current title:
-- Lingo syntax
member(1).currentTime = 22000
// JavaScript syntax
member(1).currentTime = 22000
See also
DVD
currentTime (QuickTime, AVI)
Usage
-- Lingo syntax
spriteObjRef.currentTime
// JavaScript syntax
spriteObjRef.currentTime;
Description
Digital video sprite property; determines the current time of a digital video movie playing in the
channel specified by whichSprite. The movieTime value is measured in ticks.
This property can be tested and set.
To see an example of
currentTime used in a completed movie, see the QT and Flash movie in
the Learning/Lingo Examples folder inside the Director application folder.
Example
This statement displays the current time of the QuickTime movie in channel 9 in the
Message window:
-- Lingo syntax
put(sprite(9).currentTime)