-- Lingo syntaxspriteObjRef.currentTime// JavaScript syntaxspriteObjRef.currentTime;
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.
This statement displays the current time of the QuickTime movie in channel 9 in the Message window:
-- Lingo syntax put(sprite(9).currentTime)// JavaScript syntax put(sprite(9).currentTime);
This statement sets the current time of the QuickTime movie in channel 9 to the value in the variable Poster:
-- Lingo syntax sprite(9).currentTime = Poster // JavaScript syntax sprite(9).currentTime = Poster;
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/director/mx2004/release_en/09_pr162.htm