Found this (it's awesome) - just make sure your host clip has it's origin
top left or it won't report correctly.

http://dougmccune.com/flex/hittest_example/srcview/index.html

- Eric



On Fri, Mar 11, 2011 at 10:00 AM, Eric E. Dolecki <edole...@gmail.com>wrote:

> I've done this before but it's been ages.
>
> I have a MC on the stage and would like to perform hitTestPoint on it. The
> MC contains a PNG with transparency. I'd like for the transparent regions
> not to figure into the hit detection. Looking at bitmapData.
>
> Whats a good little bit of code to do that detection with in a
> MouseEvent.MOUSE_MOVE ?
>
> Thanks,
> Eric
>
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to