3 Replies Latest reply on Jan 16, 2011 8:51 AM by webverwirklichung

    Passing mouse events through transparents parts of an image?

    ZClaes
      Currently, I have two images - a large one and a small one. Both are loaded from .png files, but the large image is actually mostly transparent. The problem is, because the large image overlapps the small image, mouse events (like double click, mouse enter, click, etc.) are being sent to the large image, even though to the user it looks like they are clicking on the small image (they're actually clicking on the transparent area of the large one). Is there any way to work around this? Perhaps on the mouse events in the large image, determine if the mouse is hitting a transparent pixel and then somehow find all items which the image overlaps and pass the event along to them? I'm a bit lost on ideas... thanks!