Lingo Dictionary > S > soundChannel |  |

soundChannel

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