# Use loaded PNG as hitarea

**URL:** <https://forum.kirupa.com/t/use-loaded-png-as-hitarea/203201>\
**Category:** Uncategorized\
**Created:** [October 9, 2006, 1:05am UTC](https://forum.kirupa.com/t/use-loaded-png-as-hitarea/203201 "2006-10-09T01:05:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![okr](https://avatars.discourse-cdn.com/v4/letter/o/f4b2a3/32.png) [@okr](https://forum.kirupa.com/u/okr)\
**Post date:** [October 9, 2006, 1:05am UTC](https://forum.kirupa.com/t/use-loaded-png-as-hitarea/203201/1 "2006-10-09T01:05:10Z")

</div>

is there a way to assign a dynamically created movie clip the hitarea of a PNG file that is loaded into it via actionscript, basically creating a none square/circle hitarea that is a mask of the bitmap image. hopefully I’m making myself clear, thanks in advance.
