home *** CD-ROM | disk | FTP | other *** search
- on mouseDown
- global curFrame, scoreData, loopFlag
- if the lastClick > 4 then
- exit
- end if
- set nbFrames to count(scoreData)
- if nbFrames <= 1 then
- exit
- end if
- if (curFrame = nbFrames) and not loopFlag then
- exit
- end if
- set spr to the clickOn
- puppetSprite(spr, 1)
- set the castNum of sprite spr to the number of cast "stopBtn.h"
- puppetSound("pop")
- updateStage()
- doPause(4)
- set the castNum of sprite spr to the number of cast "stopBtn"
- updateStage()
- replay(spr)
- end
-