-
I've got several objects on stage I made draggable with the following code :
onClipEvent (mouseDown) {
if (_root.Maison.hitTest(_root._xmouse, _root._ymouse, true)) {
Mouse.hide();
startDrag ("_root.Maison");
}
}
onClipEvent (mouseUp) {
Mouse.show();
stopDrag ();
}
The thing is, sometimes two items overlap and I can't grab the one I'm clicking on even though I'm dead on it with the mouse. I have to move the other object and then grab the one I want. Is there a way to grab the right object I'm on? Thanks!
p.s.: each object is on it's own layer.
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
|