home *** CD-ROM | disk | FTP | other *** search
- on mouseDown
- global gLastSound
- set wanneer to random(4)
- repeat while the stillDown
- put wanneer
- if wanneer = 3 then
- if the clickOn = 28 then
- set newSound to "Klap"
- else
- set newSound to 0
- end if
- if newSound <> gLastSound then
- set gLastSound to newSound
- puppetSound(newSound)
- end if
- set the castNum of sprite 28 to 12
- updateStage()
- end if
- end repeat
- end
-
- on mouseUp
- set the castNum of sprite 28 to 8
- updateStage()
- end
-