Quick One - hittest, gotoandplay, _parent

After the HitTest, How do I use the gotoAndPlay to direct the the main timeline to goto frame 2, and not frame 2 of _root.circle MC? with _parent?

I know this might be a simple question, but my brain hurts from the previous ‘debugging’…

both of these give me the same results.

onClipEvent (enterFrame) {
if (_root.circle.hitTest(_root.box1)) {
gotoAndPlay(2);
;
}
}

onClipEvent (enterFrame) {
if (_root.circle.hitTest(_root.box1)) {
gotoAndPlay(“Scene 1” , 2);
;
}
}

_root.gotoAndPlay(2);

personaly I prefer relative paths like:

this._parent.gotoAndPlay(2);

but that’s just my choice

THANKS!

I knew it was simple, and yes the relative path works with my brain better…

g

:}

Helpful tip: never say one more thing…

so I have everything working, it goes to the next frame and plays, yet my actions from frame one seem to be still running even though the are not in frame two. the debugger tells me:

Error: A ‘with’ action failed because the specified object did not exist.

which could only be reffering to my function in frame 1, since it ceasts to exist on frame 2.

Is there a way to cease the onenterframe function on the hittest clipevent? or is it automatic and my code is not quite right…(more than likely since I am hacking my way through actionscript)

THANK YOU THANK YOU THANK YOU