EasyManua.ls Logo

MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING - Page 1051

MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING
1130 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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))