# Dragging multiple objects?

**URL:** <https://forum.kirupa.com/t/dragging-multiple-objects/96654>\
**Category:** Uncategorized\
**Created:** [December 11, 2003, 10:59pm UTC](https://forum.kirupa.com/t/dragging-multiple-objects/96654 "2003-12-11T22:59:50Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sonic\_Flash](https://avatars.discourse-cdn.com/v4/letter/s/f475e1/32.png) [@Sonic\_Flash](https://forum.kirupa.com/u/Sonic_Flash)\
**Post date:** [December 11, 2003, 10:59pm UTC](https://forum.kirupa.com/t/dragging-multiple-objects/96654/1 "2003-12-11T22:59:50Z")

</div>

I’m making a draggable “window” type thing, and I want it to only drag when you press on the frame of it. the window frame (a .jpg) moves when I add the startdrag() function, but the text I put over it stays in place, is there a way to make the window AND the text move as well as any other object I want to when I press the window?

---

<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:** [December 11, 2003, 11:04pm UTC](https://forum.kirupa.com/t/dragging-multiple-objects/96654/2 "2003-12-11T23:04:55Z")

</div>

Unfortunately, the startdrag() function only works on one object. There ARE however ways to write your OWN function to drag things. I don’t have flash in front of me but if you search “dragging” on these forums you’ll probably find more than a few.

The other option you can do is to put all the things you want to drag into one movie clip. Then you can use the startdrag(); function on that one movie clip. 😉

---

<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:** [December 11, 2003, 11:18pm UTC](https://forum.kirupa.com/t/dragging-multiple-objects/96654/3 "2003-12-11T23:18:02Z")

</div>

Thanks for the help anyway. 🙂

Also, can I change the hand cursor when I apply the “on (press)” function to make it display a regular pointer cursor?

---

<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:** [December 11, 2003, 11:19pm UTC](https://forum.kirupa.com/t/dragging-multiple-objects/96654/4 "2003-12-11T23:19:16Z")

</div>

Sure! It’s all right here:

[http://www.kirupaforum.com/forums/search.php?s=](http://www.kirupaforum.com/forums/search.php?s=)

---

<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:** [December 11, 2003, 11:33pm UTC](https://forum.kirupa.com/t/dragging-multiple-objects/96654/5 "2003-12-11T23:33:08Z")

</div>

Okay, okay, here’s a couple of leads.

If you want to draw your own cursor:  
[http://www.kirupa.com/developer/flash5/globalmousecursor.htm](http://www.kirupa.com/developer/flash5/globalmousecursor.htm)

here is how to disable the little hand but still have your button clickable:  
[http://www.kirupaforum.com/forums/showthread.php?threadid=37026&highlight=cursor](http://www.kirupaforum.com/forums/showthread.php?threadid=37026&highlight=cursor)
