home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Acao / staticshock.swf / scripts / DefineSprite_882 / frame_1 / DoAction.as
Encoding:
Text File  |  2005-11-09  |  229 b   |  16 lines

  1. var helpCnt = 1;
  2. nextButton.onPress = function()
  3. {
  4.    if(helpCnt < 4)
  5.    {
  6.       helpCnt++;
  7.    }
  8.    else
  9.    {
  10.       delete this.onPress;
  11.    }
  12.    _root.heartCollectedSFX.start();
  13.    gotoAndStop(helpCnt);
  14. };
  15. stop();
  16.