home *** CD-ROM | disk | FTP | other *** search
- function SoundClickButton()
- {
- if(!_level0.no_sound)
- {
- _level0.snds[_level0.snd_clickbutton].start();
- }
- }
- function SoundActivateButton()
- {
- if(!_level0.no_sound)
- {
- _level0.snds[_level0.snd_activatebutton].start();
- }
- }
- _quality = "HIGH";
- BuyData = new LoadVars();
- BuyData.load("custom.txt");
- BuyData.onLoad = function(success)
- {
- if(mid_logo._width == 0)
- {
- mid_logo._x += Number(BuyData.mid_logo_dx);
- mid_logo._y += Number(BuyData.mid_logo_dy);
- mid_logo.loadMovie(BuyData.mid_logo);
- }
- };
- play_button.onRelease = function()
- {
- first_time = false;
- gotoAndPlay(first_game_frame);
- };
- play_button.onPress = SoundClickButton;
- play_button.onRollOver = SoundActivateButton;
- help_button.onRelease = function()
- {
- gotoAndPlay(first_game_frame + 5);
- };
- help_button.onPress = SoundClickButton;
- help_button.onRollOver = SoundActivateButton;
- reg_button.onRelease = function()
- {
- gotoAndPlay(first_game_frame + 9);
- };
- reg_button.onPress = SoundClickButton;
- reg_button.onRollOver = SoundActivateButton;
-