Where ‘targetSound’ is the class name you’ve exported your sound as in the FLA:
var sound:Sound = new targetSound(); var soundChannel:SoundChannel = new SoundChannel(); soundChannel = sound.play();
Tech Reference: AS3
Tramping, Tales, Training and Travails
Where ‘targetSound’ is the class name you’ve exported your sound as in the FLA:
var sound:Sound = new targetSound(); var soundChannel:SoundChannel = new SoundChannel(); soundChannel = sound.play();
Proudly powered by WordPress | Theme: Baskerville 2 by Anders Noren.
Leave a Reply