soundTransform is muting the sound but sound still plays.
- by Fahim Akhter
I am using the following code, in the last line when I play the sound I can still here it even when I have transformed it to 0.
var tempTransform:SoundTransform = new SoundTransform(0,0.5);
clickSoundChannel = clickSound.play();
clickSoundChannel.soundTransform = tempTransform;
clickSound.play();