home *** CD-ROM | disk | FTP | other *** search
- on mouseUp
- global gbPlayTheMusic, gnMusicSprite, gbSpeaker
- if gbPlayTheMusic then
- StopSound(1)
- set gbPlayTheMusic to 0
- set gbSpeaker to 0
- else
- set gbPlayTheMusic to 1
- end if
- set the puppet of sprite gnMusicSprite to 1
- set s to " an!"
- if gbPlayTheMusic then
- set s to " aus!"
- end if
- set the castNum of sprite gnMusicSprite to the number of cast ("Musik" & s)
- end
-