Got an assignment to create a demo with music and the ability to mute the sound. One the first frame lives this action:
mySound = new Sound();
mySound.attachSound(“1.mp3”);
mySound.setVolume(100);
mySound.start(0,1000);
When the movie gets to the end and loops, it hits this frame and either turns the music back on or makes another that plays on top of the first. If it loops a third time, another offset of the song plays, and so on.
Is there a way to set up the sound so it loops cleaner, and doesn’t begin again after it hits that first frame every time? Or possibly recognizes that the mute button has been pressed in the past?
Thanks for any help or advice.
\evan