home *** CD-ROM | disk | FTP | other *** search
/ 404 Jogos / CLJG.iso / Acao / SpeedDrill.swf / scripts / frame_6 / DoAction.as
Encoding:
Text File  |  2007-09-27  |  894 b   |  38 lines

  1. bestSCORE[0] = score / 10;
  2. totalSCORE[chain - 1] = bestSCORE[0];
  3. bestSCORE.sort(ScoreSort);
  4. switch(true)
  5. {
  6.    case First != bestSCORE[3]:
  7.       _root.TOP3PANEL.FIRST.gotoAndPlay(2);
  8.       fsingle = 1;
  9.       break;
  10.    case Second != bestSCORE[2]:
  11.       _root.TOP3PANEL.SECOND.gotoAndPlay(2);
  12.       break;
  13.    case Third != bestSCORE[1]:
  14.       _root.TOP3PANEL.THIRD.gotoAndPlay(2);
  15. }
  16. totaln = totalSCORE[0] + totalSCORE[1] + totalSCORE[2];
  17. Total1 = totalSCORE[0];
  18. Total2 = totalSCORE[1];
  19. Total3 = totalSCORE[2];
  20. if(chain > 2 && totalh < totaln)
  21. {
  22.    ftotal = 1;
  23.    _root.TOP3PANEL.TOTAL.gotoAndPlay("TOTALChange");
  24. }
  25. _root.MARKER.play();
  26. if(!(GameID == undefined || Game == ""))
  27. {
  28.    _root.attachMovie("τÖ╗Θî▓πâ£πé┐πâ│","TourokuBT",101);
  29.    with(_root.TourokuBT)
  30.    {
  31.       _x = 465;
  32.       _y = 230;
  33.       _xscale = 90;
  34.       _yscale = 90;
  35.    }
  36. }
  37. this.stop();
  38.