|
-
hitTest
I made a movie clip follow the mouse, and when it collides with another movie clip, it should gotoAndPlay a frame. But it doesn't! My code is:
onClipEvent(enterFrame){
this._root._x=_xmouse;
this._root._y=_ymouse;
Mouse.hide();
if(this.hitTest(_root.ear)){
gotoAndPlay(3);
}
I even tried putting that code on a frame in the timeline, but it didn't work either. Nothing's happening when the movie clip that follows the mouse goes over the other movie clip "ear". HELP!
AS 2
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|