# Mask Help

**URL:** <https://forum.kirupa.com/t/mask-help/156917>\
**Category:** flash\
**Created:** [July 28, 2005, 8:21pm UTC](https://forum.kirupa.com/t/mask-help/156917 "2005-07-28T20:21:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![admiller97](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/admiller97/32/1570_2.png) [@admiller97](https://forum.kirupa.com/u/admiller97)\
**Post date:** [July 28, 2005, 8:21pm UTC](https://forum.kirupa.com/t/mask-help/156917/1 "2005-07-28T20:21:34Z")

</div>

I’m an experienced programmer, but new to flash. I’m trying to recreate something similar to this tutorial: [http://www.kirupa.com/developer/flash5/lightingmask.htm](http://www.kirupa.com/developer/flash5/lightingmask.htm)  
However, when I create my mask layer, the entire box is the mask instead of fading from dark to light. when the layer is NOT a mask, the box goes from 0% Alpha to 100% alpha (white) to 0% Alpha, like I expect the box to look. The problem just comes when I apply the mask.
