home *** CD-ROM | disk | FTP | other *** search
- on mouseDown
- set WhichSprite to the clickOn
- puppetSprite(WhichSprite, 1)
- set the castNum of sprite WhichSprite to the number of cast "Quit lit"
- repeat while the stillDown
- updateStage()
- end repeat
- end
-
- on mouseUp
- set the castNum of sprite the clickOn to the number of cast "Quit"
- if the mouseCast = the number of cast "Quit" then
- sound stop 1
- sound stop 2
- play movie "quit"
- end if
- if the mouseCast = the number of cast "Quit lit" then
- sound stop 1
- sound stop 2
- play movie "quit"
- end if
- puppetSprite(WhichSprite, 0)
- end
-