home *** CD-ROM | disk | FTP | other *** search
- on mouseDown
- puppetSprite(6, 1)
- set the castNum of sprite 6 to the number of cast "pushok"
- puppetTransition(4, 0, 60)
- updateStage()
- repeat while the stillDown
- nothing()
- end repeat
- if the mouseCast = the number of cast "pushok" then
- puppetSprite(6, 0)
- updateStage()
- go(2)
- end if
- if the mouseCast <> the number of cast "pushok" then
- puppetSprite(6, 1)
- set the castNum of sprite 6 to the number of cast "unpushok"
- puppetTransition(4, 0, 60)
- updateStage()
- puppetSprite(6, 0)
- end if
- puppetSprite(6, 0)
- end
-
- on mouseUp
- puppetSprite(6, 0)
- end
-