Music choice

hi,

i have a 3 buttons with 3 different sounds on them and a stop button. To get the song from button b, i have to stop the one playing from button a. Can somebody help me out with the code i need without having to stop them and restart?

here is my code:

on (press) {
if (playing != true) {
firstSound.stop(“firstSound01”);
firstSound2.start(0, 999);
playing = true;
}
}

thx

If you want your music to play decently, you’ll always have to stop the one playing before starting another one. I don’t quite get your point, but that’ll probably be me :beam:

You might wanna use this … I’m sure there are a million better ways to do this but anyway …

[AS]on (release){
if (playing != true){
stopAllSounds();
firstSound2.start(0, 999);
}
}[/AS]