Button inside movieclip

I have a button inside an mc with the script:

on (release) {
gotoAndPlay(“Out”);
}

but it doesn’t work. I’ve also tried

on (release) {
root.gotoAndPlay(“Out”);
}

but that doesn’t work either. how do I get out of the mc?