Okay, I have some music (a short loop) that begins playing when my movie is loaded. The movie is 4 frames. Frame 1 & 2 consist of the preloader. Frame 3 has only my music on it. Frame 4 has the script to attachSound.
attachSound.track = new Sound();
track.attachSound(“soundtrack”);
track.start(0,99);
I also have a stop and play button on the stage to control the music.
They work fine, but if I press play while the music is going through its first loop only, it starts up again and i get overlapping.Anytime after that its fine. Weird.
Heres whats on the play button;
on(press) {
if (playing != true) {
_root.track.start(0,99);
playing = true;
}
}
Any takers?