-- Lingo syntax _player.sound[intSoundChannelNum] // JavaScript syntax _player.sound[intSoundChannelNum];
Player property; provides indexed access to a Sound Channel object by using a Player property. Read-only.
The intSoundChannelNum argument is an integer that specifies the number of the sound channel to access.
The functionality of this property is identical to the top level sound() method.
This statement sets the variable mySound to the sound in sound channel 3:
-- Lingo syntax mySound = _player.sound[3] // JavaScript syntax var mySound = _player.sound[3];
Player, sound(), Sound Channel