How do I play to a certain frame, stop then gotoandstop

hello it’s an easy problem i can’t seem to solve, i’m using AS.2.0
i need to gotoAndPlay then gotoFrame and stop at frame

EXAMPLE: gotoAndplay from frame 2 then when it reaches frame 10, i want it to go to the Parent frame

with a gotoAnd stop at frame (“willy”)
so far i have put this script on frame 10 but when it gets to frame 10 it just stops, it does not jump to the

parent frame “willy”

PLAYS TO FRAME 10 then: gotoAndstop this._parent._parent. ("willy)

any help would be great thanx