Button States

Hello:

I’ve been trying to comprehend the buttons states tutorial at -

But I get lots of errors. I was wondering if someone could take a look at my file and tell me what the problem is…