home *** CD-ROM | disk | FTP | other *** search
/ 404 Jogos / CLJG.iso / Acao / run-soldier-run.swf / scripts / frame_60 / DoAction.as
Encoding:
Text File  |  2008-09-11  |  695 b   |  26 lines

  1. stop();
  2. rankz_t10_send = new LoadVars();
  3. rankz_t10_receive = new LoadVars();
  4. rankz_t10_send.SU0249 = "MjU1N2olZSVhJW4lcw==";
  5. rankz_t10_send.flashkey = "UENSRkdxVks=";
  6. rankz_t10_receive.onLoad = function(success)
  7. {
  8.    if(success)
  9.    {
  10.       _rankz_ar_ = rankz_t10_receive.top10.split("<u/*/u>");
  11.       i = 0;
  12.       while(i < _rankz_ar_.length)
  13.       {
  14.          tempv = _rankz_ar_[i].split("</*/>");
  15.          _root["rankz_n" + (i + 1)].text = tempv[0];
  16.          _root["rankz_v" + (i + 1)].text = tempv[1];
  17.          i++;
  18.       }
  19.    }
  20.    else
  21.    {
  22.       trace("ERROR");
  23.    }
  24. };
  25. rankz_t10_send.sendAndLoad("http://rankz.armorbot.com/get/top10.php",rankz_t10_receive,"POST");
  26.