home *** CD-ROM | disk | FTP | other *** search
/ 404 Jogos / CLJG.iso / Acao / gotham_dark_night.swf / scripts / DefineSprite_101 / frame_31 / DoAction.as
Encoding:
Text File  |  2008-09-08  |  193 b   |  11 lines

  1. countdown.text = Number(countdown.text) - 1;
  2. if(Number(countdown.text) <= 0 && _root.transition._currentframe != 7)
  3. {
  4.    _root.death("Boom");
  5.    stop();
  6. }
  7. else
  8. {
  9.    gotoAndPlay(2);
  10. }
  11.