Need instant answer for MC button!

i have a MovieClip on stage that play animation as the pointer rolled over and out.
i also want to make that MC as a button.
But when i want to use :

on (release) {
gotoAndPlay(100);
}

…it won’t work!! 100 is the frame number on stage i wanna go to.
please help. it’s urgent.thanks.