Help with a drag and drop

I am trying to get a drag and drop feature to work like this:

The user drags a colour swatch onto an object of a different size, when dropped on the target, the object fills with that colour from the swatch they dragged?

I have done a few simple drag and drops before but I can’t figure out how to make the target fill with the colour from the dragged object.

Thanks

PS Claudio - thank you for replying to my post about the custom cursor, I have not had internet access for the past week so have only got your reply today, however I don’t have the FLA with me at the moment so I will post it tomorrow.

Thank you.