632
Example
This sprite script displays in the Message window the channel number of a Flash movie sprite and
indicates whether the Flash movie contains animation:
property spriteNum
on beginSprite me
if sprite(spriteNum).static then
animationType = "does not have animation."
else
animationType = "has animation."
end if
put "The Flash movie in channel" && spriteNum && animationType
end
staticQuality
Syntax
staticQuality of sprite
whichQTVRSprite
Description
QuickTime VR sprite property; specifies the codec quality used when the panorama image is
static. Possible values are
#minQuality
,
#maxQuality
, and
#normalQuality.
This property can be tested and set.
status
Syntax
soundObject
.status
the status of
soundObject
Description
Read-only property indicates the status of sound channel
channelNum
. Possible values include:
Example
This statement displays the current status of sound channel 2 in the Message window:
put sound(2).status
See also
isBusy()
,
pause() (sound playback)
,
play() (sound)
,
stop() (sound)
Status
Name
Meaning
0
Idle
No sounds are queued or playing.
1
Loading
A queued sound is being preloaded but is not yet playing.
2
Queued
The sound channel has finished preloading a queued sound but is not yet playing
the sound.
3
Playing
A sound is playing.
4
Paused
A sound is paused.
Содержание DIRECTOR MX-LINGO DICTIONARY
Страница 1: ...Lingo Dictionary Macromedia Director MX...
Страница 756: ...Index 756...