home *** CD-ROM | disk | FTP | other *** search
- on mouseDown
- global sprNum, sprUp, sprDown
- set sprNum to 15
- set sprUp to 6
- set sprDown to 7
- puppetSprite(sprNum, 1)
- set the memberNum of sprite sprNum to sprDown
- updateStage()
- repeat while the stillDown
- if rollOver(sprNum) then
- set the memberNum of sprite sprNum to sprDown
- else
- set the memberNum of sprite sprNum to sprUp
- end if
- updateStage()
- end repeat
- end
-
- on mouseUp
- global sprNum, sprUp, sprDown
- if the memberNum of sprite sprNum = sprDown then
- set the memberNum of sprite sprNum to sprUp
- updateStage()
- quit()
- end if
- end
-