|
-
Hit.Test Method
Im testing the hit Test method.
Ive got a movie which has two frames and two layers. One layer has the numbers 1 on the 1st frame and 2 on the second frame. The other layer has a rectangle spanning the two frames. My rectangle has this code in the object actions
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
} else {
gotoAndStop(1);
}
}
I want a simple detection so when the mouse is over the rectangle it goes to frame two. This script doesn't work
I don't understand
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
|