duration (DVD)
Usage
-- Lingo syntax
dvdObjRef.duration
// JavaScript syntax
dvdObjRef.duration;
Description
DVD property; returns the total title time, in milliseconds. Read-only.
Example
This statement returns the duration of the current title:
--Lingo syntax
trace (member(1).duration)
// JavaScript syntax
trace (member(1).duration);
See also
DVD
duration (Member)
Usage
-- Lingo syntax
memberObjRef.duration
// JavaScript syntax
memberObjRef.duration;
Description
Cast member property; determines the duration of the specified Shockwave Audio (SWA),
transition, Windows Media, and QuickTime cast members.
•
When
whichCastMember
sound. The
duration
second allows the bit rate to return the actual duration.
•
When
whichCastMember
video's duration. The value is in ticks.
•
When
whichCastMember
duration. The value for the transition is in milliseconds. During playback, this setting has the
same effect as the Duration setting in the Frame Transition dialog box.
This property can be tested for all cast members that support it, but only set for transitions.
To see an example of
Learning/Lingo Examples folder inside the Director application folder.
746
Chapter 14: Properties
-- 1329566
// 1329566
is a streaming sound file, this property indicates the duration of the
property returns 0 until streaming begins. Setting
is a digital video cast member, this property indicates the digital
is a transition cast member, this property indicates the transition's
used in a completed movie, see the QT and Flash movie in the
duration
to 1
preLoadTime
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