# \[AS3\] Alpha mask?

**URL:** <https://forum.kirupa.com/t/as3-alpha-mask/212798>\
**Category:** Uncategorized\
**Created:** [January 14, 2007, 2:44pm UTC](https://forum.kirupa.com/t/as3-alpha-mask/212798 "2007-01-14T14:44:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Oposit](https://avatars.discourse-cdn.com/v4/letter/o/ecae2f/32.png) [@Oposit](https://forum.kirupa.com/u/Oposit)\
**Post date:** [January 14, 2007, 2:44pm UTC](https://forum.kirupa.com/t/as3-alpha-mask/212798/1 "2007-01-14T14:44:45Z")

</div>

Hi

I can’t figure out how make an an mc \*\*alpha \*\ ***mask** to work in AS3. Here is  
my try:

mc1 = new green();  
mc2 = new blue();

mc2.blendMode = BlendMode. **ALPHA** ;

addChild(mc1);  
addChild(mc2);  
mc2.cacheAsBitmap = true;  
mc1. **mask** = mc2;

Anyone?

/brian
