Button in mc

ok, i have this movie clip… and in that movie clip is a button, which is inside another movie clip.

so its like… main movie clip —> movie clip —> button. get it ??

and when you press that button, it takes you to a certain frame from the main movie clip.

this is the code that i put on the button

on(release){
_root.gallery.gotoAndPlay(“secondb”);
}

gallery is the name of the main movie clip

secondb is the frame name…

but that code doesnt work… what am i doing wrong?? :hr: help please!!! :beam: