Hello,
I have some buttons, i need to drag and drop different movieclips on these buttons.
I use
myclip.addEventListener(MouseEvent.MOUSE_DOWN, on_mouseDownHandler);
myclip.addEventListener(MouseEvent.MOUSE_DOWN, on_mouseDownHandler,true);
and with
function on_mouseDownHandler(evt:MouseEvent):void {
var object = evt.target;
object.startDrag();
}
i can actually drag my clip around.
The problem is that when i drag my clip over a button, the button does not rollover.
If i move the mouse over a button (without dragging my movieclip), it changes to over state
I am missing something?
My goal is to have a rollover effect on “drag over” an area (simple button in my case)
Can anyone point me in the right direction?
Thank you!