Rollover mc plays other mc for & back

ok,

i’ve been through alot of forum space and can’t seem to find a way to fix this problem of mine. i have an mc named arrival and another named guy. i put this code on guy to make it play forward then reverse once you rollout on arrival.


onClipEvent (enterFrame) {
	if (arrival.hitTest(_root._xmouse, _root._ymouse, true)) {
		this.nextFrame();
	} else {
		this.prevFrame();
	}
}

we’ve all seen this code before. the goal is to make mc guy play for and rev when you rollover and out on mc arrival. hope you all have an answer. thanks in advance. the above code just makes the guy mc play out of control.