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