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 "DemoPlay lit"
- updateStage()
- next repeat
- end if
- set the castNum of sprite the clickOn to the number of cast "DemoPlay"
- 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 "DemoPlay"
- puppetSprite(the clickOn, 0)
- puppetSprite(gPauseSprite, 0)
- demoQTplay()
- end if
- end
-