Linking to main timeline

i have this code on a MC inside a MC: _parent.gotoAndPlay(2); i want it to play frame 2 on the main timeline. Nothing happens, i used Onclipevent.