Nested buttons problem, please help

I want a nested button to go to a particular scene on the main timeline.
here is the structure of the button:

main > MC > MC > button

i tried this on the frame of the 2nd MC with no avail:

button.onRelease = function() {

any suggestions?