|
-
Always needs help
Hittest not working?
I've tried everything, and I can't get hitTest to work.
I am just experimenting with how to use it, and I have 3 MC's. 1 is called circle, the other star, and the last test. I have the code pasted into 'circle', and test is a little figure that should show when circle and star collide. But, the 'test' MC never shows.
My script:
onClipEvent (enterFrame) {
if (_root.circle, hitTest(_root.star)) {
setProperty ("_root.test", _visible, true);
} else {
setProperty ("_root.test", _visible, false);
}
}
I am using Koolmoves v. 5.0.2, so the previous setProperty problem was resolved. What am I doing wrong???
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
|