For paths and timers:
set the units of <path | timer> to
<milliseconds | seconds | ticks>
set the units of <movie> to
<milliseconds | seconds | ticks | asComposed>
set the units of <sound> to <milliseconds |
seconds | ticks | samples>
Applies to movies, paths, sounds, timers
The units property determines the units of time used by the specified object. You can specify that units should be counted in either seconds, milliseconds, or ticks (one-sixtieths of a second). The default setting of the units property is ticks.
For movies, a units setting of asComposed uses the units defined in the movie description. Use the unitRate property to figure out the setting.
For sounds, a units setting of samples uses the sampling rate at which the sound was recorded; samples is synonymous with asComposed.
For timers, the setting of this property is overriden if you start the timer in single fire mode (by specifying the expire option on the start command, and specifying a value for units).
The following handler uses the units property in the script of a card to specify that units for the TimeAttack timer should be counted in seconds and that the timer will count 30 seconds before going off.
start timer "TimeAttack" expire in 30 seconds
This text has been mechanically extracted from the Oracle Media Objects 188.8.131.52 MediaTalk Reference, © 1995 Oracle Corporation, and is provided here solely for educational/historical purposes.