home *** CD-ROM | disk | FTP | other *** search
- on mouseUp
- global nosound, ChannelNumofButtons, FirstChannel, Piece
- set nosound to not nosound
- if nosound then
- set the visible of sprite ((Piece * Piece) + FirstChannel + ChannelNumofButtons) to 1
- else
- set the visible of sprite ((Piece * Piece) + FirstChannel + ChannelNumofButtons) to 0
- end if
- set the soundEnabled to 1
- set the soundLevel to 7
- puppetSound("KeyPressedSound")
- updateStage()
- end
-