# dragOver / if mouse is down on dragOver

**URL:** <https://forum.kirupa.com/t/dragover-if-mouse-is-down-on-dragover/75643>\
**Category:** flash\
**Created:** [January 10, 2005, 11:26pm UTC](https://forum.kirupa.com/t/dragover-if-mouse-is-down-on-dragover/75643 "2005-01-10T23:26:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Carixpig](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/carixpig/32/304_2.png) [@Carixpig](https://forum.kirupa.com/u/Carixpig)\
**Post date:** [January 10, 2005, 11:26pm UTC](https://forum.kirupa.com/t/dragover-if-mouse-is-down-on-dragover/75643/1 "2005-01-10T23:26:11Z")

</div>

Hi all,

Having never used dragOver before, I assumed it would trigger the event onRollOver if the mouse is down. But you have to drag off then on for it to work.

I’m trying to work out a way to trigger an event if the mouse rolls over something while the mouse button is pressed - it’s to emulate a dragOver selection effect like in the Flash timeline.

Any ideas? I haven’t worked out Mouse.onMouseDown so if anyone knows, your help would be appreciated.

Thanks,  
C
