Jumping to label in main timeline

hey there :slight_smile:
I am trying to make a button jump to a label in the main timeline from within a movieclip but I dont think i have the syntax etc correct. I’m getting “access of undefined property _root” when I run the following code. Any ideas what I’m doing wrong here? heres the code…

menuButton_IN.pHome_IN.addEventListener(MouseEvent.MOUSE_DOWN, onPressHandler);

function onPressHandler(myEvent:MouseEvent){
_root.gotoAndPlay (“home”);
}

… any help would be great!
… Camm