в руте

Код:
_root.soundstatus = "on";
_root.mySound = new Sound(_level0);
maxvolume = 100;
minvolume = 0;
onEnterFrame = function () {
if (_root.soundstatus == "on") {
step = 5;
}
if (_root.soundstatus == "off") {
step = -5;
}
maxvolume = maxvolume+step;
if (maxvolume>100) {
maxvolume = 100;
}
if (maxvolume<0) {
maxvolume = 0;
}
_root.mySound.setVolume(maxvolume);
};
и на кнопки ставиш код

Код:
on (release) {
_root.soundstatus = "off";
}
// -----------------------*--------------------\\
on (release) {
_root.soundstatus = "on";
}