i havent got too much time at the moment to make you a taylor made function, but i do have a script which will help you.
it is just one function, and you can have any clip being the target or the one thats being dragged. im my example the dragged clip changes alpha when it is in close proximity to the target:
the first parameter is the clip which you want to drag, the second parameter is the clip you want as the target, and the third is how close you want the clip to be to the target, so that when it is released it goes to the target.
this method is based on distance checking and not hittest or onRollOver/Out.
But I'm not too sure if it is the code that I need.
Let me tell you what I want to achieve and maybe you can give me a tip.
I'm doing a website for an interior designer, I have multiple drag & drop objects to decorate a room.
1- I need to duplicate the first object that the user drags just incase it is used again.
2- I need to be able to apply colours and patterns to all duplicates.
3- The example I'm using is based on frame labels which means to me that I need to have as many frame labels as combination of colours and patterns (quit a lot!!)
I post the file just incase you want to have a look.