home *** CD-ROM | disk | FTP | other *** search
/ 404 Jogos / CLJG.iso / Aventura / bubblegum.swf / scripts / DefineSprite_792_endScreen / frame_4 / DoAction.as
Encoding:
Text File  |  2007-06-05  |  1.2 KB  |  30 lines

  1. function checkParamsLoaded()
  2. {
  3.    if(home.highscores.done == 0)
  4.    {
  5.       inty += 0.2;
  6.       if(inty > 10)
  7.       {
  8.          clearInterval(param_interval);
  9.          total_1 = "Timed Out";
  10.       }
  11.       trace("not yet scores1. " + inty);
  12.    }
  13.    else
  14.    {
  15.       total_1 = home.highscores.hs_1_score + " pts - " + home.highscores.hs_1_username;
  16.       total_2 = home.highscores.hs_2_score + " pts - " + home.highscores.hs_2_username;
  17.       total_3 = home.highscores.hs_3_score + " pts - " + home.highscores.hs_3_username;
  18.       total_4 = home.highscores.hs_4_score + " pts - " + home.highscores.hs_4_username;
  19.       total_5 = home.highscores.hs_5_score + " pts - " + home.highscores.hs_5_username;
  20.       total_6 = home.highscores.hs_6_score + " pts - " + home.highscores.hs_6_username;
  21.       total_7 = home.highscores.hs_7_score + " pts - " + home.highscores.hs_7_username;
  22.       total_8 = home.highscores.hs_8_score + " pts - " + home.highscores.hs_8_username;
  23.       total_9 = home.highscores.hs_9_score + " pts - " + home.highscores.hs_9_username;
  24.       total_10 = home.highscores.hs_10_score + " pts - " + home.highscores.hs_10_username;
  25.    }
  26.    updateAfterEvent();
  27. }
  28. var param_interval = setInterval(checkParamsLoaded,200);
  29. stop();
  30.