// JavaScript syntax
put(sprite(15).trackPreviousKeyTime(5));
trackPreviousSampleTime
Usage
-- Lingo syntax
spriteObjRef.trackPreviousSampleTime(whichTrack)
// JavaScript syntax
spriteObjRef.trackPreviousSampleTime(whichTrack);
Description
Digital video sprite property; indicates the time of the sample preceding 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 sample 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).trackPreviousSampleTime(5))
// JavaScript syntax
put(sprite(15).trackPreviousSampleTime(5));
trackStartTime (Member)
Usage
-- Lingo syntax
memberObjRef.trackStartTime(whichTrack)
// JavaScript syntax
memberObjRef.trackStartTime(whichTrack);
Description
Digital video cast member property; returns the start time of the specified track of the specified
digital video cast member.
This property can be tested but not set.
Example
This statement determines the start time of track 5 in the digital video cast member Jazz
Chronicle and displays the result in the Message window:
-- Lingo syntax
put(member("Jazz Chronicle").trackStartTime(5))
// JavaScript syntax
put(member("Jazz Chronicle").trackStartTime(5));
1052
Chapter 14: Properties
Need help?
Do you have a question about the DIRECTOR MX 2004-DIRECTOR SCRIPTING and is the answer not in the manual?
Questions and answers