
410
This statement plays the sound file Crash.aif stored in the Sounds subfolder of the current movie’s
folder. Note the path delimiter used, indicating a Windows environment:
sound playFile 1, the moviePath&"Sounds/crash.aif"
See also
@ (pathname)
,
movieName
movieRate
Syntax
sprite(
whichSprite
).movieRate
the movieRate of sprite
whichSprite
Description
Digital video sprite property; controls the rate at which a digital video in a specific channel plays.
The movie rate is a value specifying the playback of the digital video. A value of 1 specifies normal
forward play, -1 specifies reverse, and 0 specifies stop. Higher and lower values are possible. For
example, a value of 0.5 causes the digital video to play slower than normal. However, frames may
be dropped when the
movieRate
sprite property exceeds 1. The severity of frame dropping
depends on factors such as the performance of the computer the movie is playing on and whether
the digital video sprite is stretched.
This property can be tested and set.
To see an example of
movieRate
used in a completed movie, see the QT and Flash movie in the
Learning/Lingo Examples folder inside the Director application folder.
Examples
This statement sets the rate for a digital video in sprite channel 9 to normal playback speed:
sprite(9).movieRate = 1
This statement causes the digital video in sprite channel 9 to play in reverse:
sprite(9).movieRate = -1
See also
duration
,
movieTime
movieTime
Syntax
sprite(
whichSprite
).movieTime
the movieTime of sprite
whichSprite
Description
Digital video sprite property; determines the current time of a digital video movie playing in the
channel specified by
whichSprite
. The
movieTime
value is measured in ticks.
This property can be tested and set.
To see an example of
movieTime
used in a completed movie, see the QT and Flash movie in the
Learning/Lingo Examples folder inside the Director application folder.
Содержание DIRECTOR MX-LINGO DICTIONARY
Страница 1: ...Lingo Dictionary Macromedia Director MX...
Страница 756: ...Index 756...