fixed it for you (at the same time u got less events now):
http://dl.dropbox.com/u/65731657/toggleable.capx
I've had to put Music = 1 ? 0 : 1 because your frame 1 was the 'off' state and frame 0 the 'on' state
If you switched the frames you could use 'set animation frame to Music'
I also added a debug textbox to track your variables, i've left it there so u see how to do it