Hi all,
I'm using flash 8 on windows XP.
Suppose we have two graphics with same size and shape. One can be dragged and
another one is not. What I'm doing is drag the first graphic and drop it on the
second graphic. If they are overlap 100%, then it's ok. But when they are
closely overlapped (nearly 80%), how can I detect it?
Can anyone help on this matter or direct me to a related tutorial or a sample.
Thank You!
Chathuranga.
kglad - 11 Jul 2008 07:15 GMT
you can use the bitmapdata class to detect the exact amount of overlap. check gskinnner's collisiondetection class.