home *** CD-ROM | disk | FTP | other *** search
- b1.onRelease = function()
- {
- pointer._y = -124;
- _root.setgamequality(1);
- };
- b2.onRelease = function()
- {
- pointer._y = -65;
- _root.setgamequality(2);
- };
- b3.onRelease = function()
- {
- pointer._y = -10;
- _root.setgamequality(3);
- };
- backb.onRelease = function()
- {
- gotoAndStop("mainmenu");
- };
- sfxbut.onRelease = function()
- {
- if(sfxcandle._currentframe == 1)
- {
- _root.sfxmute = 0;
- _root.resetSounds();
- sfxcandle.gotoAndStop(2);
- }
- else
- {
- _root.sfxmute = 1;
- _root.resetSounds();
- sfxcandle.gotoAndStop(1);
- }
- };
- musicbut.onRelease = function()
- {
- if(musiccandle._currentframe == 1)
- {
- _root.musicmute = 0;
- musiccandle.gotoAndStop(2);
- _root.resetSounds();
- }
- else
- {
- _root.musicmute = 1;
- musiccandle.gotoAndStop(1);
- _root.resetSounds();
- }
- };
- if(_root.musicmute == 0)
- {
- musiccandle.gotoAndStop(2);
- }
- if(_root.sfxmute == 0)
- {
- sfxcandle.gotoAndStop(2);
- }
- this["b" + _root.gamequality].onRelease();
-