home *** CD-ROM | disk | FTP | other *** search
- on dragspriteex
- puppetSprite(clickOn(), 1)
- set mh to mouseH() - the locH of sprite clickOn()
- set mv to mouseV() - the locV of sprite clickOn()
- repeat while stillDown()
- set the locH of sprite clickOn() to mouseH() - mh
- set the locV of sprite clickOn() to mouseV() - mv
- updateStage()
- end repeat
- end
-
- on wait n
- set startticks to the timer
- set nowticks to the timer
- set waitticks to nowticks - startticks
- repeat while waitticks < n
- set nowticks to the timer
- set waitticks to nowticks - startticks
- end repeat
- end
-