home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Diversos / clowns.swf / scripts / frame_3 / DoAction.as
Encoding:
Text File  |  2006-06-13  |  714 b   |  27 lines

  1. function prepareNewGame()
  2. {
  3.    score = 0;
  4.    sessionId = Math.random() * 1000000;
  5. }
  6. ready = true;
  7. _global.cst = new Object();
  8. _global.cst.maxVolume = 50;
  9. _global.cst.levelCodes = new Array();
  10. _global.opt = new Object();
  11. _global.opt.toggleSound = true;
  12. _global.opt.keyRight = 39;
  13. _global.opt.keyLeft = 37;
  14. _global.opt.keyUp = 38;
  15. _global.opt.keyDown = 40;
  16. _global.opt.startLevel = 1;
  17. _global.opt.startLifes = 3;
  18. _global.opt.startScore = 0;
  19. _global.opt.startShots = 5;
  20. _global.opt.startTime = 60;
  21. _global.stat = new Object();
  22. _global.snd = new Object();
  23. _global.snd.global = new Sound();
  24. _global.snd.music = new Sound();
  25. _global.snd.music.attachSound("music");
  26. _global.temp = new Object();
  27.