how do i keep a sound from repeating over itself?
i’m using the attachSound(); on a button roll over.
button1.onRollOver= function() {
mySound= new Sound();
mySound.attachSound(“sound.mp3”);
mySound.start(0,1);
}
when i rollover the button while the sound is playing, it plays over itself making a giant mess of sound. how would i go about telling flash to check if the sound is playing and not to play if it is?
thanks in advance!
tony