Click to See Complete Forum and Search --> : Drag 'n Drop with Action Scripting

01-16-2002, 09:12 AM

I have a movie where I have two items that can be moved by drag 'n drop methods. For both items there are Action Scripts attached to the On Drop.

My problem is that you move the items and drop them on top of each other the Action Script is not always executed. The reason is that the last item in a movie will 'sit' in front of an item listed before it (higher up the list of elements) and this will have its code exec'd. Items the appear to move behind another will not have the code exec'd even when you release the mouse button.

(I really hope this is making sense to someone)

So I no the cause but I cannot think of a solution. Is this normal behaviour? Or an undocumented feature (a bug)?

Any ideas are warmly welcomed.


01-16-2002, 11:22 PM
I've not really used dragging as I've had problems with this feature. More often than not at least one item that I select dragging for I have to mousedown on some secret spot outside of it to drag it, not within the object. This happens even when I'm careful to reset the center of a drawn object.