This is the actionscript I have for a mute button. When clicked the sound waves (sound_art) disapears and sound is stopped. All i need to know is what should i put were to make the “tune” loop itself. Thanks guys.
on (release)
{
if (mute == false)
{
mute = true;
sound_art._visible = false;
stopAllSounds();
}
else
{
mute = false;
sound_art._visible = true;
music = new Sound(mute_btn);
music.attachSound("tune");
music.start (0,20);
}
}