home *** CD-ROM | disk | FTP | other *** search
/ Champak 40 / Vol 40.iso / games / tetris.swf / scripts / DefineSprite_673 / frame_2 / DoAction.as
Encoding:
Text File  |  2007-04-25  |  6.6 KB  |  208 lines

  1. function ┬º\x01\x02┬º()
  2. {
  3.    return 973;
  4. }
  5. var ┬º\x01┬º = -332 + "\x01\x02"();
  6. while(true)
  7. {
  8.    if(eval("\x01") == 641)
  9.    {
  10.       set("\x01",eval("\x01") + 334);
  11.       ┬º┬ºpush(true);
  12.    }
  13.    else if(eval("\x01") == 779)
  14.    {
  15.       set("\x01",eval("\x01") - 422);
  16.       ┬º┬ºpush("\x0f");
  17.       ┬º┬ºpush(1);
  18.    }
  19.    else if(eval("\x01") == 602)
  20.    {
  21.       set("\x01",eval("\x01") - 180);
  22.       ┬º┬ºpush(!function ┬º\x01\x02┬º()
  23.       {
  24.          return 973;
  25.       });
  26.    }
  27.    else if(eval("\x01") == 975)
  28.    {
  29.       set("\x01",eval("\x01") - 304);
  30.       if(function ┬º\x01\x02┬º()
  31.       {
  32.          return 973;
  33.       })
  34.       {
  35.          set("\x01",eval("\x01") - 490);
  36.       }
  37.    }
  38.    else
  39.    {
  40.       if(eval("\x01") == 671)
  41.       {
  42.          set("\x01",eval("\x01") - 490);
  43.          break;
  44.       }
  45.       if(eval("\x01") == 422)
  46.       {
  47.          set("\x01",eval("\x01") - 231);
  48.          if(function ┬º\x01\x02┬º()
  49.          {
  50.             return 973;
  51.          })
  52.          {
  53.             set("\x01",eval("\x01") + 629);
  54.          }
  55.       }
  56.       else if(eval("\x01") == 719)
  57.       {
  58.          set("\x01",eval("\x01") + 60);
  59.       }
  60.       else if(eval("\x01") == 191)
  61.       {
  62.          set("\x01",eval("\x01") + 629);
  63.       }
  64.       else if(eval("\x01") == 181)
  65.       {
  66.          set("\x01",eval("\x01") + 598);
  67.       }
  68.       else if(eval("\x01") == 357)
  69.       {
  70.          set("\x01",eval("\x01") + 523);
  71.          var ┬º┬ºpop() = function ┬º\x01\x02┬º()
  72.          {
  73.             return 973;
  74.          };
  75.       }
  76.       else if(eval("\x01") == 286)
  77.       {
  78.          set("\x01",eval("\x01") + 316);
  79.          ┬º┬ºpush(eval(function ┬º\x01\x02┬º()
  80.          {
  81.             return 973;
  82.          }));
  83.       }
  84.       else
  85.       {
  86.          if(eval("\x01") != 880)
  87.          {
  88.             if(eval("\x01") == 820)
  89.             {
  90.                set("\x01",eval("\x01") - 418);
  91.                _parent.credits_btn._visible = false;
  92.                score = _root.myscore_fn();
  93.                FG_ShowScores = function()
  94.                {
  95.                   var _loc4_ = 10;
  96.                   while(_loc4_ > 0)
  97.                   {
  98.                      var _loc6_ = scoreboard_lv["name" + (page + _loc4_)];
  99.                      var _loc5_ = scoreboard_lv["score" + (page + _loc4_)];
  100.                      var _loc3_ = this["line" + _loc4_ + "_mc"];
  101.                      _loc3_.rank_txt.text = page + _loc4_ + ".";
  102.                      _loc3_.name_txt.text = !_loc6_.length ? "-" : _loc6_;
  103.                      if(_loc5_ == undefined)
  104.                      {
  105.                         _loc5_ = "-";
  106.                      }
  107.                      _loc3_.score_txt.text = _loc5_;
  108.                      _loc3_.rank_txt.textColor = _loc3_.name_txt.textColor = _loc3_.score_txt.textColor = !(_root.game_so.data.playerName.length && _loc6_.toUpperCase() == _root.game_so.data.playerName.toUpperCase()) ? 0 : 14684317;
  109.                      _loc3_._visible = true;
  110.                      loading_mc._visible = false;
  111.                      if(scoreboard_lv["name" + (page + 1 + 10)].length == "" or scoreboard_lv["name" + (page + 1 + 10)].length == undefined)
  112.                      {
  113.                         next_btn._visible = false;
  114.                      }
  115.                      _loc4_ = _loc4_ - 1;
  116.                   }
  117.                };
  118.                page = 0;
  119.                maxScore = 100;
  120.                if(score > 0 && _root.game_so.data.playerName.length > 0)
  121.                {
  122.                   scoreboard_lv = new LoadVars();
  123.                   scoreboard_lv.fg_game_output_score = score;
  124.                   scoreboard_lv.fg_forum_user = _root.game_so.data.playerName;
  125.                   scoreboard_lv.fg_forum_pass = _root.game_so.data.userPassword;
  126.                }
  127.                if(_url.indexOf("http://www.t45ol.com") == -1 and _url.indexOf("http://www.moli.cn") == -1 and _root.checkurl_fn == true)
  128.                {
  129.                   loading_mc.gotoAndStop(2);
  130.                }
  131.                else
  132.                {
  133.                   scoreboard_lv.fg_current_game = _root.thisid;
  134.                   if(_root.checkurl_fn == true)
  135.                   {
  136.                      scoreboard_lv.sendAndLoad("script/fg_scoring_engine.php?nocache=" + getTimer(),scoreboard_lv,"POST");
  137.                   }
  138.                   else
  139.                   {
  140.                      scoreboard_lv.sendAndLoad("http://www.t45ol.com/script/fg_scoring_engine.php?nocache=" + getTimer(),scoreboard_lv,"POST");
  141.                   }
  142.                   scoreboard_lv.onLoad = function(success)
  143.                   {
  144.                      if(scoreboard_lv.maxScore.length > 0)
  145.                      {
  146.                         maxScore = scoreboard_lv.maxScore;
  147.                         next_btn._visible = true;
  148.                         FG_ShowScores();
  149.                         score = 0;
  150.                      }
  151.                      else
  152.                      {
  153.                         loading_mc.gotoAndStop(2);
  154.                      }
  155.                   };
  156.                   last_btn._visible = false;
  157.                   next_btn._visible = false;
  158.                   last_btn.onPress = function()
  159.                   {
  160.                      page -= 10;
  161.                      if(page < 0)
  162.                      {
  163.                         page = 0;
  164.                      }
  165.                      if(page < 10)
  166.                      {
  167.                         last_btn._visible = false;
  168.                      }
  169.                      next_btn._visible = true;
  170.                      FG_ShowScores();
  171.                   };
  172.                   top_btn.onPress = function()
  173.                   {
  174.                      page = 1;
  175.                      next_btn._visible = true;
  176.                      FG_ShowScores();
  177.                   };
  178.                   next_btn.onPress = function()
  179.                   {
  180.                      page += 10;
  181.                      if(page > maxScore)
  182.                      {
  183.                         page = maxScore;
  184.                      }
  185.                      if(page > maxScore - 20)
  186.                      {
  187.                         next_btn._visible = false;
  188.                      }
  189.                      last_btn._visible = true;
  190.                      FG_ShowScores();
  191.                   };
  192.                }
  193.                _parent.zhizuoren._visible = false;
  194.                stop();
  195.                break;
  196.             }
  197.             if(eval("\x01") == 402)
  198.             {
  199.                set("\x01",eval("\x01") - 402);
  200.             }
  201.             break;
  202.          }
  203.          set("\x01",eval("\x01") - 594);
  204.          ┬º┬ºpush("\x0f");
  205.       }
  206.    }
  207. }
  208.