-- Lingo syntax _sound.channel(intChannelNum) // JavaScript syntax _sound.channel(intChannelNum);
Sound method; returns a reference to a specified sound channel.
The functionality of this method is identical to the top level sound() method.
intChannelNum Required. An integer that specifies the sound channel to reference.
This statement sets the variable named myChannel to sound channel 2:
-- Lingo syntax myChannel = _sound.channel(2) // JavaScript syntax var myChannel = _sound.channel(2);