home *** CD-ROM | disk | FTP | other *** search
/ Champak 40 / Vol 40.iso / games / cube_tem.swf / scripts / frame_10 / DoAction.as
Encoding:
Text File  |  2007-05-10  |  5.7 KB  |  202 lines

  1. function ┬º\x01\x02┬º()
  2. {
  3.    return 2384;
  4. }
  5. var ┬º\x01┬º = -1861 + "\x01\x02"();
  6. while(true)
  7. {
  8.    if(eval("\x01") == 523)
  9.    {
  10.       set("\x01",eval("\x01") - 385);
  11.       ┬º┬ºpush(true);
  12.    }
  13.    else if(eval("\x01") == 138)
  14.    {
  15.       set("\x01",eval("\x01") + 273);
  16.       if(function ┬º\x01\x02┬º()
  17.       {
  18.          return 2384;
  19.       })
  20.       {
  21.          set("\x01",eval("\x01") + 448);
  22.       }
  23.    }
  24.    else if(eval("\x01") == 273)
  25.    {
  26.       set("\x01",eval("\x01") + 603);
  27.       ┬º┬ºpush(!function ┬º\x01\x02┬º()
  28.       {
  29.          return 2384;
  30.       });
  31.    }
  32.    else
  33.    {
  34.       if(eval("\x01") == 411)
  35.       {
  36.          set("\x01",eval("\x01") + 448);
  37.          break;
  38.       }
  39.       if(eval("\x01") == 421)
  40.       {
  41.          set("\x01",eval("\x01") + 287);
  42.       }
  43.       else if(eval("\x01") == 817)
  44.       {
  45.          set("\x01",eval("\x01") - 544);
  46.          ┬º┬ºpush(eval(function ┬º\x01\x02┬º()
  47.          {
  48.             return 2384;
  49.          }));
  50.       }
  51.       else if(eval("\x01") == 876)
  52.       {
  53.          set("\x01",eval("\x01") - 455);
  54.          if(function ┬º\x01\x02┬º()
  55.          {
  56.             return 2384;
  57.          })
  58.          {
  59.             set("\x01",eval("\x01") + 287);
  60.          }
  61.       }
  62.       else
  63.       {
  64.          if(eval("\x01") == 708)
  65.          {
  66.             set("\x01",eval("\x01") + 13);
  67.             stop();
  68.             submit_btn.enabled = true;
  69.             delete _root.onEnterFrame;
  70.             backWin();
  71.             sudahMenang = true;
  72.             infoHigh = "PLEASE INPUT YOUR NAME TO HIGHSCORE";
  73.             Selection.setFocus("nama_mc");
  74.             nama = "";
  75.             submit_btn.onRollOver = high_btn.onRollOver = restart_btn.onRollOver = function()
  76.             {
  77.                over();
  78.             };
  79.             submit_btn.onRelease = function()
  80.             {
  81.                submit_btn.enabled = false;
  82.                klik();
  83.                playerName = nama;
  84.                playerScore = score;
  85.                if(jenisPlay == "CLASSIC")
  86.                {
  87.                   submitOurScoreClassic(playerName,playerScore);
  88.                }
  89.                else if(jenisPlay == "TIME TRIAL")
  90.                {
  91.                   submitOurScoreTimeTrial(playerName,playerScore);
  92.                }
  93.                else if(jenisPlay == "STRATEGY")
  94.                {
  95.                   submitOurScoreStrategy(playerName,playerScore);
  96.                }
  97.                else if(jenisPlay == "PUZZLE")
  98.                {
  99.                   submitOurScorePuzzle(playerName,playerScore);
  100.                }
  101.                removeListener(myListener);
  102.             };
  103.             high_btn.onRelease = function()
  104.             {
  105.                klik();
  106.                if(jenisPlay == "CLASSIC")
  107.                {
  108.                   getUrl("http://scores.crazymonkeygames.com/hs/listscores.php?id=171", "_blank");
  109.                }
  110.                else if(jenisPlay == "TIME TRIAL")
  111.                {
  112.                   getUrl("http://scores.crazymonkeygames.com/hs/listscores.php?id=172", "_blank");
  113.                }
  114.                else if(jenisPlay == "STRATEGY")
  115.                {
  116.                   getUrl("http://scores.crazymonkeygames.com/hs/listscores.php?id=173", "_blank");
  117.                }
  118.                else if(jenisPlay == "PUZZLE")
  119.                {
  120.                   getUrl("http://scores.crazymonkeygames.com/hs/listscores.php?id=174", "_blank");
  121.                }
  122.             };
  123.             restart_btn.onRelease = function()
  124.             {
  125.                klik();
  126.                gotoAndStop("menu");
  127.                removeListener(myListener);
  128.             };
  129.             myListener = new Object();
  130.             myListener.onKeyDown = function()
  131.             {
  132.                if(Key.getCode() >= 0)
  133.                {
  134.                   xkey();
  135.                }
  136.                if(Key.getCode() == 13)
  137.                {
  138.                   klik();
  139.                   playerName = nama;
  140.                   playerScore = score;
  141.                   if(jenisPlay == "CLASSIC")
  142.                   {
  143.                      submitOurScoreClassic(playerName,playerScore);
  144.                   }
  145.                   else if(jenisPlay == "TIME TRIAL")
  146.                   {
  147.                      submitOurScoreTimeTrial(playerName,playerScore);
  148.                   }
  149.                   else if(jenisPlay == "STRATEGY")
  150.                   {
  151.                      submitOurScoreStrategy(playerName,playerScore);
  152.                   }
  153.                   else if(jenisPlay == "PUZZLE")
  154.                   {
  155.                      submitOurScorePuzzle(playerName,playerScore);
  156.                   }
  157.                   removeListener(myListener);
  158.                }
  159.             };
  160.             Key.addListener(myListener);
  161.             break;
  162.          }
  163.          if(eval("\x01") == 721)
  164.          {
  165.             set("\x01",eval("\x01") - 721);
  166.             break;
  167.          }
  168.          if(eval("\x01") == 859)
  169.          {
  170.             set("\x01",eval("\x01") - 37);
  171.          }
  172.          else if(eval("\x01") == 822)
  173.          {
  174.             set("\x01",eval("\x01") - 452);
  175.             ┬º┬ºpush("\x0f");
  176.             ┬º┬ºpush(1);
  177.          }
  178.          else if(eval("\x01") == 925)
  179.          {
  180.             set("\x01",eval("\x01") - 108);
  181.             ┬º┬ºpush("\x0f");
  182.          }
  183.          else if(eval("\x01") == 370)
  184.          {
  185.             set("\x01",eval("\x01") + 555);
  186.             var ┬º┬ºpop() = function ┬º\x01\x02┬º()
  187.             {
  188.                return 2384;
  189.             };
  190.          }
  191.          else
  192.          {
  193.             if(eval("\x01") != 251)
  194.             {
  195.                break;
  196.             }
  197.             set("\x01",eval("\x01") + 571);
  198.          }
  199.       }
  200.    }
  201. }
  202.