home *** CD-ROM | disk | FTP | other *** search
/ 404 Jogos / CLJG.iso / Aventura / redbeard.swf / scripts / DefineSprite_427 / frame_75 / DoAction.as
Encoding:
Text File  |  2008-09-12  |  649 b   |  23 lines

  1. if(mcHighScoreData.records > 0)
  2. {
  3.    mcHighScoreData.positionMonthly = mcHighScoreData.position;
  4.    monthlyLoaded = true;
  5.    var i = 0;
  6.    while(i < mcHighScoreData.high)
  7.    {
  8.       mcHighScoreData["userNameMonthly" + i] = mcHighScoreData["user_name" + i];
  9.       mcHighScoreData["scoreMonthly" + i] = mcHighScoreData["score" + i];
  10.       mcHighScoreData["dateMonthly" + i] = mcHighScoreData["date" + i];
  11.       if(scoreIsTime)
  12.       {
  13.          mcHighScoreData["scoreMonthly" + i] = convertScoreToTime(mcHighScoreData["scoreMonthly" + i]);
  14.       }
  15.       i++;
  16.    }
  17.    gotoAndPlay(76);
  18. }
  19. else
  20. {
  21.    gotoAndPlay(_currentframe - 1);
  22. }
  23.