Œuvres pause feature, but I have to bulk soundTransform

I'm stumped on the suspension of a sound and keeping the transformation of his volume on play once again.  Interrupt the work, but when I play again it plays correctly position break; However, the flight of sound transformation reverts to 1 (100%)

noise vars
var mySound:Sound = new theme();
var sndVol:SoundTransform = new SoundTransform (0.2);
channel: SoundChannel = var mySound.play (0,2,sndVol);

function/pause

musicOn_mc.musPause_mc.addEventListener (MouseEvent.CLICK, togMus);
function togMus(e:MouseEvent) {}
var pausePosition:int = channel.position;
If (musOn) {}
Channel.Stop ();
musicOn_mc.musPause_mc.gotoAndStop ("off");
musOn = false;
} else {}

IT IS THE PROBLEM

channel = mySound.play (pausePosition);

// ???? no idea how re - I would apply sound processing?


END OF THE PROBLEM

musicOn_mc.musPause_mc.gotoAndStop("on");
musOn = true;
}
}

Thank you

If you look in help, you will see that every time you call play a new channel object is set with the variable - if you lose the transformation of the former. You just need to reassign it.

channel.soundTransform = sndVol;

Tags: Adobe Animate

Similar Questions

Maybe you are looking for

  • Keyboard typing two different characters at once

    Whenever I am typing some characters another character will pop up with him. For example, I try to type 'L' and when I'm not using the screen keyboard it types like '; L '. There are several different keys, that what is happening but this isn't the c

  • Satellite X 200-15 k & question readers DVD Toshiba

    Hi again. I receive an email from webadmin on the latest version of the dvd player to my Satellite x 200.When I run the Setup, I get an error message: TOSHIBA DVD PLAYERThis application cannot be installed on this computer.The installation program wi

  • limitation of the same structure add cases

    Hello Can I know any excretion have the same structure add event .bcase if I use more than 50 events in strucute even.

  • How to restore a Windows 7 computer to a previous Windows installation?

    Original title: Reinstall xp Here 2 reinstall xp. I upgraded 2 victory. 7 n want 2 return xp 2.  can any1 help please.

  • Problem event name: BlueScreen 0x3b

    original title: problem event name: BlueScreen___OS Version: 6.1.7600.2.0.0.256.1___Locale ID: 1033 Hello! I have problems whit my OS. I did a fresh install of win 7 64 bit and new same problem. After 4-5 hours does not when I start the comp I always