gotoAndPlay()

How do i gotoAndPlay another Swf’s time line

(ex) what i need
i put this code into child main time line
gotoAndPlay(“parent.swf”,(frameno));

this will work?