Infinite menu navegation problem

HI
My infinite menu is working great, my problem is that I can’t make my button send my movie to my desired timeline freme.
for example I insert this action script
on (release) {
gotoAndPlay ( “Scene 1”, “a1” );
}
to my movie and it doesn’t work, but if I make a new button in my scene 1 window it works great and takes me to a1.
Could you help me finding out how to make my bottons actually go to where I want them to go.

Thank you very much.