_global.originallySoundOn = false; soundOff = function () { trace("-------------"); trace("is the sound on or off?"); trace(soundEffects) if (soundEffects == true) { trace("sound is on"); originallySoundOn = true; _root.buttonSound.onRelease(); } else { trace("sound is off"); originallySoundOn = false; } buttonSound.enabled = false; }; soundOn = function () { trace("-------------"); trace("was the sound on or off?"); if (originallySoundOn == true) { trace("sound was on"); _root.buttonSound.onRelease(); _root.buttonSound.enabled = true; } else { trace("sound was off"); _root.buttonSound.enabled = true; } };