For movies and sounds:
the duration of <movie | sound>
set the duration of [leg <number> of]
<path> to <integer>
Applies to movies, paths, legs of paths, sounds
For movies and sounds, the duration property describes the movie or sound length, measured in units. The duration property is read-only for movies and sounds.
For paths, the duration property determines how long the animation will last on a selected path or leg of a path. The duration is measured in the current units setting, and the default is 60 ticks (one second).
You can set the value of the duration property to apply to either an entire path or to each leg of a path. You can specify a different duration for each leg of a path; you must then set the path's playStyle property to useLegTiming to enable the different durations.
prepare movie 1
put the duration of movie 1 into totLength
* 100 into percentDone
put percentDone & "% done..." into field status
Play the movie by typing play mov 1 into the Message Box. The "Status" field displays the running count of the percentage of the movie that has played.
This text has been mechanically extracted from the Oracle Media Objects 184.108.40.206 MediaTalk Reference, © 1995 Oracle Corporation, and is provided here solely for educational/historical purposes.