This kirupa tutorial not working in flash 8

http://www.kirupa.com/developer/actionscript/dragdrop.htm
this tutorial is not working in flash 8 I can drag the objects but when I am dropping the object on target target is not changing color . Can anybody suggest bwhai will be the new script???