# startDrag on multiple items

**URL:** <https://forum.kirupa.com/t/startdrag-on-multiple-items/45306>\
**Category:** flash\
**Created:** [March 12, 2004, 10:45pm UTC](https://forum.kirupa.com/t/startdrag-on-multiple-items/45306 "2004-03-12T22:45:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![natti](https://avatars.discourse-cdn.com/v4/letter/n/f17d59/32.png) [@natti](https://forum.kirupa.com/u/natti)\
**Post date:** [March 12, 2004, 10:45pm UTC](https://forum.kirupa.com/t/startdrag-on-multiple-items/45306/1 "2004-03-12T22:45:50Z")

</div>

In my project, I’m replacing the mouse cursor AND I have hover captions on buttons… both of which use startDrag to work. Needless to say, they don’t work at the same time. Either the custom cursor is following the location of the mouse, or the hover caption is following the location of the mouse… they swap when another startDrag is encoutered.

Is there any way to get around this??

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 12, 2004, 10:47pm UTC](https://forum.kirupa.com/t/startdrag-on-multiple-items/45306/2 "2004-03-12T22:47:51Z")

</div>

You can use an onMouseMove handler to replace the mouse cursor instead of using startDrag:

```auto

your_cursorMC.onMouseMove = function(){
this._x = _root._xmouse;
this._y = _root._ymouse;
}

```

And then you can use startDrag on the others 🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 13, 2004, 5:33am UTC](https://forum.kirupa.com/t/startdrag-on-multiple-items/45306/3 "2004-03-13T05:33:49Z")

</div>

cool… thanks! =D

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 13, 2004, 8:07am UTC](https://forum.kirupa.com/t/startdrag-on-multiple-items/45306/4 "2004-03-13T08:07:09Z")

</div>

Anytime 🙂
