trackPreviousKeyTime
1051
Example
This statement determines the time of the keyframe that follows the current time in track 5 of the
digital video assigned to sprite channel 15 and displays the result in the Message window:
-- Lingo syntax
put(sprite(15).trackNextKeyTime(5))
// JavaScript syntax
put(sprite(15).trackNextKeyTime(5));
trackNextSampleTime
Usage
-- Lingo syntax
spriteObjRef
.trackNextSampleTime(
whichTrack
)
// JavaScript syntax
spriteObjRef
.trackNextSampleTime(
whichTrack
);
Description
Digital video sprite property; indicates the time of the next sample that follows the digital video’s
current time. This property is useful for locating text tracks in a digital video.
This property can be tested but not set.
Example
This statement determines the time of the next sample that follows the current time in track 5 of
the digital video assigned to sprite 15:
-- Lingo syntax
put(sprite(15).trackNextSampleTime(5))
// JavaScript syntax
put(sprite(15).trackNextSampleTime(5));
trackPreviousKeyTime
Usage
-- Lingo syntax
spriteObjRef
.trackPreviousKeyTime(
whichTrack
)
// JavaScript syntax
spriteObjRef
.trackPreviousKeyTime(
whichTrack
);
Description
Digital video sprite property; reports the time of the keyframe that precedes the current time.
This property can be tested but not set.
Example
This statement determines the time of the keyframe in track 5 that precedes the current time in
the digital video sprite assigned to channel 15 and displays the result in the Message window:
-- Lingo syntax
put(sprite(15).trackPreviousKeyTime(5))
Summary of Contents for DIRECTOR MX 2004
Page 1: ...DIRECTOR MX 2004 Director Scripting Reference...
Page 48: ...48 Chapter 2 Director Scripting Essentials...
Page 100: ...100 Chapter 4 Debugging Scripts in Director...
Page 118: ...118 Chapter 5 Director Core Objects...
Page 594: ...594 Chapter 12 Methods...
Page 684: ...684 Chapter 14 Properties See also DVD...
Page 702: ...702 Chapter 14 Properties See also face vertices vertices flat...
Page 856: ...856 Chapter 14 Properties JavaScript syntax sprite 15 member member 3 4...
Page 1102: ...1102 Chapter 14 Properties...