Help!

Hi
I’ve recently switched from flash 8 to CS3 and I’m having trouble with action script 3. I’m trying to make a button (on(release)gotoAndPlay(1); ) does any one know how to do this script in action script 3?