# \[AS3\] Drag and Drop + rollover

**URL:** <https://forum.kirupa.com/t/as3-drag-and-drop-rollover/271851>\
**Category:** flash\
**Created:** [September 29, 2008, 6:13pm UTC](https://forum.kirupa.com/t/as3-drag-and-drop-rollover/271851 "2008-09-29T18:13:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![inalto](https://avatars.discourse-cdn.com/v4/letter/i/d2c977/32.png) [@inalto](https://forum.kirupa.com/u/inalto)\
**Post date:** [September 29, 2008, 6:13pm UTC](https://forum.kirupa.com/t/as3-drag-and-drop-rollover/271851/1 "2008-09-29T18:13:57Z")

</div>

Hello,

I have some buttons, i need to drag and drop different movieclips on these buttons.  
I use

```auto

myclip.addEventListener(MouseEvent.MOUSE_DOWN, on_mouseDownHandler);
myclip.addEventListener(MouseEvent.MOUSE_DOWN, on_mouseDownHandler,true);

```

and with

```auto

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!
