608
Example
The following statement checks whether a sound is playing in sound channel 1 and loops in the
frame if it is. This allows the sound to finish before the playhead goes to another frame.
if soundBusy(1) then go to the frame
See also
sound playFile
,
sound stop
,
status
soundChannel (SWA)
Syntax
member(
whichCastMember
).soundChannel
the soundChannel of member
whichCastMember
Description
Shockwave Audio (SWA) cast member property; specifies the sound channel in which the SWA
sound plays.
If no channel number or channel 0 is specified, the SWA streaming cast member assigns the
sound to the highest numbered sound channel that is unused.
Shockwave Audio streaming sounds can appear as sprites in sprite channels, but they play sound
in a sound channel. Refer to SWA sound sprites by their sprite channel number, not their sound
channel number.
This property can be tested and set.
Example
This statement tells the SWA streaming cast member Frank Zappa to play in sound channel 3:
member("Frank Zappa").soundChannel = 3
soundChannel (RealMedia)
Syntax
sprite(
whichSprite
).soundChannel
member(
whichCastmember
).soundChannel
sprite(
whichSprite
).soundChannel =
soundChannel
member(
whichCastmember
).soundChannel =
soundChannel
Description
RealMedia sprite or cast member property; allows you to get or set the sound channel used to play
the audio in the RealMedia stream. Setting this property allows you to control the audio of a
RealMedia stream using the Lingo sound methods and properties. Setting this property to a value
outside the range 0–8 causes a Lingo error. This property has no effect if
realPlayerNativeAudio()
is set to
TRUE
.
The default setting for this property is 0, which means that the RealMedia audio will play in the
highest sound channel available, and the property’s value changes during playback depending on
which channel is being used. When the RealMedia cast member is playing, this property reflects
the sound channel currently in use. When the RealMedia cast member is stopped, this property
reverts to 0.
Содержание DIRECTOR MX-LINGO DICTIONARY
Страница 1: ...Lingo Dictionary Macromedia Director MX...
Страница 756: ...Index 756...