Calling button within a movieclip

i have a movie clip called menu
there is a button in the movie clip called button1
how do i use that button from the main timeline
i was guessing to do:
menu.button1.onRelease { whatever action }
but its not working

how would i do that
p.s. i need to be able to run the release code in the main timeline, not the button’s timeline

thanks

add “_root.” to your code without the quotations of course. _root refers to the main timeline.

ok this is exactly what i have

_root.button3.menu3.onRelease
{
_root.page.loadMovie(“3.swf”);
}

button menu3 is inside movieclip button3
and this code is in my actions layer, not on the movieclip or the button

and somehow my main movie loads 3.swf when it starts without any clicks

what am i doing wrong

Suppose to look like this:

_root.button3.menu3.onRelease = function() {
	_root.page.loadMovie("3.swf");
};

to follow up on this:

i tried to just do


button3.onRelease = function() {
        _root.page.loadMovie("3.swf");
};

and this seemed to work
im not sure if this is good or not because in the end im clickin on the movieclip and not the button, but this is the only way it wanted to work for me
still not sure why