home *** CD-ROM | disk | FTP | other *** search
/ 404 Jogos / CLJG.iso / Acao / bubble_tanks_2.swf / scripts / DefineSprite_385 / frame_154 / DoAction.as
Encoding:
Text File  |  2008-09-02  |  587 b   |  32 lines

  1. var thePage = _global.page;
  2. _global.menuFlag = false;
  3. if(thePage == "normal mode")
  4. {
  5.    _root.gotoAndPlay("game");
  6. }
  7. else if(thePage == "arena mode")
  8. {
  9.    _root.gotoAndPlay("arena");
  10. }
  11. else if(thePage == "settings")
  12. {
  13.    _root.gotoAndPlay("settings");
  14. }
  15. else if(thePage == "credits")
  16. {
  17.    _root.gotoAndPlay("credits");
  18. }
  19. else if(thePage == "high scores")
  20. {
  21.    _root.gotoAndPlay("high scores");
  22. }
  23. else if(thePage == "bubbleopedia")
  24. {
  25.    _root.gotoAndPlay("bubbleopedia");
  26. }
  27. else if(thePage == "arenaLocked")
  28. {
  29.    _root.gotoAndPlay("arenaLocked");
  30. }
  31. stop();
  32.