home *** CD-ROM | disk | FTP | other *** search
- on mouseUp
- set num to the castNum of sprite 48
- if num = 183 then
- offh()
- else
- onh()
- end if
- end
-
- on offh
- puppetSound(3, 98)
- set the volume of sound 1 to 0
- set the volume of sound 2 to 0
- set the castNum of sprite 48 to 184
- updateStage()
- set the castNum of sprite 48 to 185
- repeat while soundBusy(3)
- nothing()
- end repeat
- updateStage()
- set the volume of sound 3 to 0
- end
-
- on onh
- set the volume of sound 3 to 255
- puppetSound(3, 98)
- set the volume of sound 1 to 255
- set the volume of sound 2 to 255
- set the castNum of sprite 48 to 186
- updateStage()
- set the castNum of sprite 48 to 183
- repeat while soundBusy(3)
- nothing()
- end repeat
- updateStage()
- end
-