thank you but I already figured it out =). I do have another problem. It involves getting or setting a previous volume. here is the code

Actionscript Code:
function mutevolume()
{
    if (controlpanel.lft.mute._currentframe == 1) {
        this.prevvolume = volume;
        var _loc1 = controlpanel.lft.volumecnt.scr._x;
        var _loc2 = new mx.transitions.Tween(controlpanel.lft.volumecnt.scr, "_x", mx.transitions.easing.Strong.easeOut, _loc1, 0, 1, true);
        volume = 0;
        audio.setVolume(0);
        controlpanel.lft.mute.gotoAndStop(2);
    } else if (controlpanel.lft.mute._currentframe == 2){
        volume = this.prevvolume;
        var _loc1 = controlpanel.lft.volumecnt.scr._x;
        var _loc2 = new mx.transitions.Tween(controlpanel.lft.volumecnt.scr, "_x", mx.transitions.easing.Strong.easeOut, _loc1, volume / 2, 1, true);
        audio.setVolume(volume);
        controlpanel.lft.mute.gotoAndStop(1);
    } // end else if
} // End of the function
If you could help I would really appreciate it. THANK YOU!!