Dragging inside a shape or curve

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:

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

I’ll try this out, thanks :trout:

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: