home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Puzzle / MahJongSolitaire.swf / scripts / DefineSprite_200 / frame_4 / DoAction.as
Encoding:
Text File  |  2005-08-04  |  197 b   |  13 lines

  1. newTime = Math.round(getTimer() / 1000);
  2. timeLeft = timeDown - (newTime - currTime);
  3. if(0 >= timeLeft)
  4. {
  5.    time = "00";
  6.    gotoAndPlay(6);
  7. }
  8. else
  9. {
  10.    time = "0" + timeLeft;
  11. }
  12. play();
  13.