home *** CD-ROM | disk | FTP | other *** search
/ 404 Jogos / CLJG.iso / Aventura / lightsprites.swf / scripts / frame_40 / DoAction.as
Encoding:
Text File  |  2007-09-27  |  812 b   |  53 lines

  1. function StartGame()
  2. {
  3.    game.BeginGame();
  4. }
  5. function GameSetup()
  6. {
  7. }
  8. function Mediator()
  9. {
  10.    game.Run();
  11. }
  12. function RainbowOver()
  13. {
  14.    game.OverAnim();
  15. }
  16. function OrbHold()
  17. {
  18.    if(_global.gamePaused == false)
  19.    {
  20.       game.HoldOrbs();
  21.    }
  22. }
  23. function OrbRelease()
  24. {
  25.    game.ReleaseOrbs();
  26. }
  27. function GameChangeType(numType)
  28. {
  29.    if(_global.gamePaused == false)
  30.    {
  31.       game.ChangeOrbs(numType);
  32.    }
  33. }
  34. function ResumeGame()
  35. {
  36.    game.ResumeThisGame();
  37. }
  38. function QuitGame()
  39. {
  40.    game.EndGame();
  41. }
  42. function GameFinished()
  43. {
  44.    game.GameOver(true);
  45. }
  46. _global.danceSync = 20;
  47. _global.difficulty = 1;
  48. _root.transition2.swapDepths(1000001);
  49. _root.transition2.gotoAndPlay("open");
  50. _root.paused.swapDepths(1000000);
  51. stop();
  52. var game = new LightSpriteGame();
  53.