PDA

View Full Version : PNG Transparency and Button



vxd
April 11th, 2009, 12:21 PM
Hi,

Is there a way to make the transparent area from an png image not to register when I add
with a mouse event to that image?

What is happening is the rectangle around the symbol is effected by the mouse event.

I've attached an example.

senocular
April 11th, 2009, 12:41 PM
You can create a vector hotspot, or use something suggested here:
http://www.actionscript.org/forums/showthread.php3?t=193730

vxd
April 11th, 2009, 10:21 PM
I've been creating a vector hotspot but I thought there is better way.
It's just a plain when I add a mouse event to the hotspot and then I would have to specify the targeted MC instead of e.target when i have multiple objects