Hi Flashers! To any people who are sound experts, this questions for you. I am working on a project, using the Flash projector, and have music running in the background. Just some light music to entertain the viewer, but I also have a section with sample sound clips to listen to in addition to the background music. So what I want to do is have my play button (for the sample clips) stop the background music and then begin playing the sound clip that corresponds to that button. I used the tutorial for loading sound clips from flashkit.com, then I added on a little line to turn off the music in the background, but when I press my play button multiple times (like echoes), I get multiple songs (same song) playing at the same time. It’s quite irritating and I don’t know what to do. My scripting is:
on (press) {
_root.firstSound.stop(“pachelbel”);
playing = false;
if (playing!=true) {
_root.secondSound.start(0,999);
playing=true;
}
}
that’s what I’ve got so far. Any ideas?
Ciao,
Batman124617
:-\ :x