home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Estrategia / scooby.swf / scripts / DefineSprite_618 / frame_2 / DoAction.as
Encoding:
Text File  |  2006-06-13  |  445 b   |  24 lines

  1. gPuzzleRoot.eSec = gameMC.iPuzzleTimer.seconds();
  2. if(gPuzzleRoot.eSec > 59)
  3. {
  4.    gameMC.iPuzzleTimer.restartTimer();
  5.    gPuzzleRoot.eMin = gPuzzleRoot.eMin + 1;
  6.    gPuzzleRoot.eSec = 0;
  7. }
  8. if(gPuzzleRoot.eSec < 10)
  9. {
  10.    sec_txt.text = "0" + gPuzzleRoot.eSec;
  11. }
  12. else
  13. {
  14.    sec_txt.text = gPuzzleRoot.eSec;
  15. }
  16. if(gPuzzleRoot.eMin < 10)
  17. {
  18.    min_txt.text = "0" + gPuzzleRoot.eMin;
  19. }
  20. else
  21. {
  22.    min_txt.text = gPuzzleRoot.eMin;
  23. }
  24.