MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING Reference page 1050

Director scripting reference
Table of Contents

Advertisement

Example
This statement determines the number of tracks in the digital video sprite assigned to channel 10
and displays the result in the Message window:
-- Lingo syntax
put(sprite(10).trackCount())
// JavaScript syntax
trace(sprite(10).trackCount());
trackEnabled
Usage
-- Lingo syntax
spriteObjRef.trackEnabled(whichTrack)
// JavaScript syntax
spriteObjRef.trackEnabled(whichTrack);
Description
Digital video sprite property; indicates the status of the specified track of a digital video. This
property is
TRUE
and no longer playing or is not updating.
This property cannot be set. Use the
Example
This statement checks whether track 2 of digital video sprite 1 is enabled:
-- Lingo syntax
put(sprite(1).trackEnabled(2))
// JavaScript syntax
put(sprite(1).trackEnabled(2));
See also
setTrackEnabled()
trackNextKeyTime
Usage
-- Lingo syntax
spriteObjRef.trackNextKeyTime(whichTrack)
// JavaScript syntax
spriteObjRef.trackNextKeyTime(whichTrack);
Description
Digital video sprite property; indicates the time of the keyframe that follows the current time in
the specified digital video track.
This property can be tested but not set.
1050
Chapter 14: Properties
if the track is enabled and playing. This property is
setTrackEnabled
if the track is disabled
FALSE
property instead.

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

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

Subscribe to Our Youtube Channel

This manual is also suitable for:

Director mx 2004

Table of Contents