soundTransform is muting the sound but sound still plays.

Posted by Fahim Akhter on Stack Overflow See other posts from Stack Overflow or by Fahim Akhter
Published on 2010-04-06T14:40:30Z Indexed on 2010/04/06 14:43 UTC
Read the original article Hit count: 164

Filed under:

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();

© Stack Overflow or respective owner

Related posts about actionscript-3