Hi Im trying to stop and play an individual sound. with the code below.
Play button has this code
on (press) {
mySound = new Sound();
mySound.attachSound("rita");
mySound.start(0,1);
}
Stop button has this code
on (release) {
mySound.stop();
}
My problem is that when I press the stop button it stops all the sounds that are playing instead of just targeting mySound. Is there away to just stop this one sound without effecting others?