Bombdogs
02-21-2008, 05:08 PM
Hi all,
Is there an easy way of ignoring the transparent pixels of a bitmap when listening for a mouse click event?
I've got a bitmap circle that's draggable, but the corners of the bitmap (which are transparent because a circle is not sqaure) also allow the user to pick up the object. I know I could create a vector mask & assign the listener to that instead, but I'm wondering if there's a simple trick I'm missing.
Thanks,
PMF
Is there an easy way of ignoring the transparent pixels of a bitmap when listening for a mouse click event?
I've got a bitmap circle that's draggable, but the corners of the bitmap (which are transparent because a circle is not sqaure) also allow the user to pick up the object. I know I could create a vector mask & assign the listener to that instead, but I'm wondering if there's a simple trick I'm missing.
Thanks,
PMF