Hi all,
I have created a simple movieclip, in which there is a button that if I roll over the movie clip it plays the animation within the movie clip and returns back to frame 1 where it stops.The problem is I wanted to put an "enemy" in that just wanders around and if it happens to walk over the MC whilst the animation is playing it goes to a "game over" page. So what I did was put another MC inside with the animation and attached to it this code
Code:
onClipEvent (enterFrame) {
	if(_root.blob.hitTest(this));
	_root.gotoAndStop(2);

}
This MC is only on frames 2-10 within the parent MC so it only activates once I've rolled over the button on frame 1. The problem is rather than only going to the game over page once the "enemy" has rolled over the animation it does it as soon as i roll over it with the mouse. Does that make sense? I would really appreciate the help as I can't see where to go to fix this!
Thanks in advance!