AS3: combining two different scripts

Hi,

is there anybody able to combine the action of this two different scripts in AS3?
In these llinks there is a demo and the code source.

http://monkeyflash.com/tutorials/flash-drag-and-drop/

Thank you for your help in advance.