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)
Содержание DIRECTOR MX 2004-DIRECTOR SCRIPTING
Страница 1: ...DIRECTOR MX 2004 Director Scripting Reference...
Страница 48: ...48 Chapter 2 Director Scripting Essentials...
Страница 100: ...100 Chapter 4 Debugging Scripts in Director...
Страница 118: ...118 Chapter 5 Director Core Objects...
Страница 594: ...594 Chapter 12 Methods...
Страница 684: ...684 Chapter 14 Properties See also DVD...
Страница 702: ...702 Chapter 14 Properties See also face vertices vertices flat...
Страница 856: ...856 Chapter 14 Properties JavaScript syntax sprite 15 member member 3 4...
Страница 889: ...netPresent 889 _player alert Sorry the Network Support Xtras could not be found See also Player...
Страница 1102: ...1102 Chapter 14 Properties...