home *** CD-ROM | disk | FTP | other *** search
- on mouseDown
- puppetSprite(the clickOn, 1)
- repeat while the stillDown
- if rollOver(the clickOn) then
- set the castNum of sprite the clickOn to the number of cast "Win lit"
- updateStage()
- next repeat
- end if
- set the castNum of sprite the clickOn to the number of cast "Win"
- updateStage()
- end repeat
- end
-
- on mouseUp
- global gPauseSprite
- if rollOver(the clickOn) then
- set the castNum of sprite the clickOn to the number of cast "Win"
- puppetSprite(the clickOn, 0)
- puppetSprite(gPauseSprite, 0)
- winMacSwitch(#win)
- end if
- end
-