home *** CD-ROM | disk | FTP | other *** search
- global gStopSprite
-
- on mouseDown
- set the puppet of sprite the clickOn to 1
- set the castNum of sprite the clickOn to the number of cast (the name of cast the castNum of sprite the clickOn && "lit")
- updateStage()
- end
-
- on mouseUp
- global soundLevel
- set the puppet of sprite gStopSprite to 1
- if soundLevel > 0 then
- set soundLevel to soundLevel - 1
- end if
- set the castNum of sprite gStopSprite to the number of cast ("sound level" && soundLevel)
- set the puppet of sprite the clickOn to 0
- end
-