[Flashcoders] Advanced hitTest Detection

2006-08-31 Thread Helmut Granda
Hello, I have 10 items on screen and only 2 of them have to match. so there is no problem saying itemA.hiTest(itemB). But now I have to know if itemA.hitTest(itemB) + itemC. The only way i got it to work is by having itemC onEnterFrame check if the mouse is on top of it. The issue here is that

Re: [Flashcoders] Advanced hitTest Detection

2006-08-31 Thread Alias™
Hi Helmut, Not sure how much use you'll get out of this, but I did a talk a while back on this subject, and the conference notes can be found here: http://londonmmug.org/downloads/presentations/20040916-London-MMUG-Alias-Cummins-Flash-games.zip What you have here is an algorithm with