Go to _root frame

Hi,

can’t find it in forums so here goes,

I have a button in an MC on frame 10,
when I click on the button I want it to take me to frame 9(in my main movie, not the MC)

Since the but is in an MC I supposed a basic code such as this would do:

on (release) {
_root.gotoAndPlay(9);
}

I’ve experimented this way and that but still can’t fix it,
No luck,

What’s wrong

Thanks,