home *** CD-ROM | disk | FTP | other *** search
- on mouseUp
- global ismusic
- ismusic = not ismusic
- if offset("button_equalizer", (the member of sprite the clickOn).name) then
- tmp = -1
- else
- tmp = 1
- end if
- sprite(the clickOn).visible = 0
- sprite(the clickOn + tmp).visible = 1
- if ismusic then
- sound playFile 1, the moviePath & "data\music.wav"
- else
- sound fadeOut 1, 3 * 60
- end if
- end
-
- on mouseDown
- end
-