Hopefully an easy gotoAndStop question

Hi everyone. I have a button inside a movieclip which is inside a movie clip thats on the main timeline. When the user presses the button I want the main timeline to progress to frame 25. The actionscript I have applied to the button is…

stop();
button.onRelease = function(){
    gotoAndStop(25);
;
};

The problem is no matter what I set it to do, it only wants to go to frame 25 in the movieclip that it’s in. So, is there a way to specify I want it to control the main timeline instead of the timeline of the movieclip its in? I tried…

stop();
artphotosbutton.onRelease = function(){
    gotoAndStop("Scene 1", 25);
;
};

But that didn’t work. Thanks in advance.