SelectedItem.addEventListener(Event.ENTER_FRAME, MoveSheet2);
function MoveSheet2(event:Event)
{
SelectedItem.x = mouseX - 17;
SelectedItem.y = mouseY - 17;
}
Object2.addEventListener(MouseEvent.MOUSE_OVER, TargetPotat);
function TargetPotat(e:MouseEvent):void
{
TargetOBJ= e.target
trace(TargetOBJ)
TargetOBJ.addEventListener(MouseEvent.MOUSE_OUT,RemoveTargetPotat);
}
function RemoveTargetPotat(e:MouseEvent):void
{
trace("RemoveTargetPotat")
TargetOBJ.removeEventListener(MouseEvent.MOUSE_OUT,RemoveTargetPotat);
TargetOBJ= null
}
im trying to make it where a object(1) is clicked on and dragged and then it can be dropped on another object(2) however since the object(1) is on the mouse cursor it is blocking object(2)'s MOUSE_OVER event is there a way to fix this?