# Dragging inside a shape or curve

**URL:** https://forum.kirupa.com/t/dragging-inside-a-shape-or-curve/57565
**Category:** Uncategorized
**Created:** [July 14, 2004, 10:55am UTC](https://forum.kirupa.com/t/dragging-inside-a-shape-or-curve/57565 "2004-07-14T10:55:11Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![rinopoli](https://avatars.discourse-cdn.com/v4/letter/r/ecb155/32.png) [@rinopoli](https://forum.kirupa.com/u/rinopoli)
#### Post date: [July 14, 2004, 10:55am UTC](https://forum.kirupa.com/t/dragging-inside-a-shape-or-curve/57565/1 "2004-07-14T10:55:11Z")

</div>

Hi, does anyone know how to let the user drag an object inside a shape other than a square or on a curve?

Thankz :be:

---

<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: [July 14, 2004, 7:03pm UTC](https://forum.kirupa.com/t/dragging-inside-a-shape-or-curve/57565/2 "2004-07-14T19:03:27Z")

</div>

make the shape or the object you want into a movieclip and use the movieclip.\_droptarget function in flash to define your target

---

<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: [July 14, 2004, 9:12pm UTC](https://forum.kirupa.com/t/dragging-inside-a-shape-or-curve/57565/3 "2004-07-14T21:12:41Z")

</div>

I’ll try this out, thanks :trout:

---

<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: [July 15, 2004, 8:08am UTC](https://forum.kirupa.com/t/dragging-inside-a-shape-or-curve/57565/4 "2004-07-15T08:08:29Z")

</div>

I’m afraid i missed it. I’m quite new to flash and i did not understand how to use the \_droptarget property…:jail:

someone suggested me to mask layers, but I think this is too much of a trick…

need to study more.  
…have you got any other ideas?

Thaanks! :ne:
