Hi there,
I’m using sound objects to play sounds in my movie. When you click one button, the background music starts to play in a loop. Then I rollover another button, that plays another sound object, and when I rollout, it tells that sound object to stop. The problem is, that when I tell the rollover sound to stop, it also stops the background music?
I can not work out why it’s doing this? Any ideas?
[AS]bg_snd = new Sound();
bg_snd.attachSound(‘sound1’);
ro_snd = new Sound();
ro_snd.attachSound(‘sound2’);
button1.onRelease = function(){
bg_snd.start(0,99);
}
button2.onRollOver = function(){
ro_snd.start(0,10);
}
button2.onRollOut = function(){
ro_snd.stop();
}[/AS]