home *** CD-ROM | disk | FTP | other *** search
- function menuChange(where)
- {
- _root.where = where;
- MenuFade.play();
- }
- function detail(what)
- {
- details[what] = true;
- }
- function ls()
- {
- if(_root.musicPlay == undefined)
- {
- _root.createEmptyMovieClip("musicHolder",100000);
- music = new Sound(_root.musicHolder);
- music.attachSound("cursorstorm");
- music.setVolume(70);
- music.start(0,99999);
- _root.musicPlay = 1;
- if(!_root.sound)
- {
- music.setVolume(0);
- }
- }
- _root.createEmptyMovieClip("soundHolder",99999);
- carEngine = new Sound(_root.soundHolder);
- carEngine.attachSound("engine");
- steam = new Sound(_root.car);
- steam.attachSound("steam");
- steamSide = new Sound(_root.f1);
- steamSide.attachSound("steamSide");
- steamSideB = new Sound(_root.f3);
- steamSideB.attachSound("steamSide");
- _root.createEmptyMovieClip("crashSound",90949);
- crash = new Sound(_root.crashSound);
- crash.attachSound("crash");
- crash.setVolume(70);
- crash2 = new Sound(_root.crashSound);
- crash2.attachSound("crash2");
- crash2.setVolume(70);
- crash3 = new Sound(_root.crashSound);
- crash3.attachSound("crash3");
- crash3.setVolume(70);
- fuelS = new Sound();
- fuelS.attachSound("fuelS");
- swallow = new Sound();
- swallow.attachSound("swallow");
- gravityR = new Sound(bg);
- gravityR.setVolume(200);
- gravityR.attachSound("gravityR");
- ufoDead = new Sound();
- ufoDead.attachSound("ufoDead");
- button = new Sound();
- button.attachSound("button");
- }
- function cSound()
- {
- if(_root.sound)
- {
- c = random(3);
- if(c == 0)
- {
- _root.crash.start();
- }
- if(c == 1)
- {
- _root.crash2.start();
- }
- if(c == 2)
- {
- _root.crash3.start();
- }
- }
- }
- stop();
- depthHolder = 0;
- stop();
- cheat = false;
- _root.details = new Object();
- if(_root.menuMP == undefined)
- {
- _root.sound = true;
- _root.createEmptyMovieClip("menuMH",992929);
- _root.menuMP = 1;
- menuM = new Sound(_root.menuMH);
- menuM.attachSound("menuM");
- if(_root.sound)
- {
- menuM.start(0,99999);
- }
- if(!_root.sound)
- {
- menuM.start();
- menuM.setVolume(0);
- }
- }
- extra = false;
-