Collision between duplicated MC, please help

i found this example, its about hitTest between instances of distinct MC using the attachMovie method, i’have changed the AS to make it work with the duplicateMovieClip method, but isn’t working, im really stuck with this, i hope someone can help me, fixing the code or finding other way to do this type of collision