# \[AS3\] - .png + MouseEvent.CLICK

**URL:** <https://forum.kirupa.com/t/as3-png-mouseevent-click/270314>\
**Category:** flash\
**Created:** [September 8, 2008, 5:59pm UTC](https://forum.kirupa.com/t/as3-png-mouseevent-click/270314 "2008-09-08T17:59:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![switchBack](https://avatars.discourse-cdn.com/v4/letter/s/9dc877/32.png) [@switchBack](https://forum.kirupa.com/u/switchBack)\
**Post date:** [September 8, 2008, 5:59pm UTC](https://forum.kirupa.com/t/as3-png-mouseevent-click/270314/1 "2008-09-08T17:59:48Z")

</div>

Hey everyone, I have a pretty difficult question (for me at least) and I’m hoping that someone can provide an answer, even if that answer is “can’t be done”. I have searched quite a few places and haven’t found anything on this.

Lets say I have a .png, and its a complicated shape like an “S” or something. When you save the .png it gets wrapped in bounding boxes and comes out as a "square"ish shape.

Is there any way that I can have just the actual image portion of the .png interact with MouseEvents, and not the image itself (not the “dead” space)?

i.e. were I to click on the image to interact with it, the click event would only trigger if I clicked somewhere on the “S” portion of the graphic not any of the transparent portions of the image.
