# Custom Shape

**URL:** https://forum.kirupa.com/t/custom-shape/269355
**Category:** flash
**Created:** [August 26, 2008, 3:38pm UTC](https://forum.kirupa.com/t/custom-shape/269355 "2008-08-26T15:38:33Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![hairyharry](https://avatars.discourse-cdn.com/v4/letter/h/cdc98d/32.png) [@hairyharry](https://forum.kirupa.com/u/hairyharry)
#### Post date: [August 26, 2008, 3:38pm UTC](https://forum.kirupa.com/t/custom-shape/269355/1 "2008-08-26T15:38:33Z")

</div>

hey let me say i really enjoy the site and the forum…some great info on here

* * *

my question is this: i want to import a custom image as a mc so when you click on it something happens…like:

mc.addEventListener(MouseEvent.CLICK, hit);  
function hit(e:MouseEvent):void{  
trace(“CLICKED”);  
}

the problem is when i import the image as a mc the “clickable” area is a sqare but i want it to be just the shape itself - it’s a complex shape so i can’t draw it in flash…comprendo? thanks in advance
