PDA

View Full Version : HitTestPoint on Transparent PNG



Wedge_Man
March 5th, 2008, 09:11 AM
Hey all,

So i have a transparent .png that is about 100px by 200px with a picture of a man in the middle.

I want to click on the man and only the man to have my function fire but it seems like if i click within the bounding box, the function still fires.

I'm using the hitTestPoint function that seems to say I can specify whether I want to do an alpha check or a shape check. Both of those options seem to do the same thing when I run it real time.

Any ideas?

Thanks!