# How to apply a mask for a bitmap

**URL:** <https://forum.kirupa.com/t/how-to-apply-a-mask-for-a-bitmap/272467>\
**Category:** Uncategorized\
**Created:** [October 5, 2008, 5:27pm UTC](https://forum.kirupa.com/t/how-to-apply-a-mask-for-a-bitmap/272467 "2008-10-05T17:27:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![soha\_20088](https://avatars.discourse-cdn.com/v4/letter/s/bc8723/32.png) [@soha\_20088](https://forum.kirupa.com/u/soha_20088)\
**Post date:** [October 5, 2008, 5:27pm UTC](https://forum.kirupa.com/t/how-to-apply-a-mask-for-a-bitmap/272467/1 "2008-10-05T17:27:54Z")

</div>

Hi all,

I want to apply a mask to a bitmap/jpeg/gif image. I also tried the setMask() function but it works for only movie clip and not for the image. Please help me out.  
Atleast give me some idea so i can do some research on that.

-soha
