home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Aventura / superman.swf / scripts / frame_47 / DoAction.as
Encoding:
Text File  |  2006-06-07  |  259 b   |  11 lines

  1. digit0 = 1;
  2. tmplevel = _root.gLevel;
  3. while(10 < tmplevel)
  4. {
  5.    tmplevel -= 10;
  6.    digit0++;
  7. }
  8. digit1 = 1 + tmplevel;
  9. MC_gameboard.MC_leveltext.MC_level.MC_digit0.gotoAndStop(digit0);
  10. MC_gameboard.MC_leveltext.MC_level.MC_digit1.gotoAndStop(digit1);
  11.