Onrelease gotoandplay Please help :(

I’m sorry to bother everyone with such a simple question. I haven’t done anything in flash since 2002.
Heres what I am trying to do. I have a symbol that i am using as a button. I simply want it so that when you click , it will go to a specific frame. I am using actionscript 3.0. I tried to convert the document to AS2.0 and i put the simple code that im used to directly on the button which is
on(release) {
gotoAndPlay(2)
}
This didnt work for me. I’ve been trying to figure this out for a good 4-5 hours now and nothing seems to work. At this point I am willing to do it in AS2 or AS3. If anyone has a few moments to help me out I would greatly apprechiate it. Please explain it to me as easy as possible. Thanks again