# Flash gradient mask

**URL:** https://forum.kirupa.com/t/flash-gradient-mask/309405
**Category:** flash
**Created:** [May 14, 2010, 4:39am UTC](https://forum.kirupa.com/t/flash-gradient-mask/309405 "2010-05-14T04:39:49Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Dave](https://avatars.discourse-cdn.com/v4/letter/d/ee7513/32.png) [@Dave](https://forum.kirupa.com/u/Dave)
#### Post date: [May 14, 2010, 4:39am UTC](https://forum.kirupa.com/t/flash-gradient-mask/309405/1 "2010-05-14T04:39:49Z")

</div>

Hi Guys,

I have this sample file which works great, but soon as I place all those frame into a container mc. It doesnt work. I’ve tried changing the path of the Action script but doesnt work.

Basically I want this effect to work in a Movie clip, a container.

```auto

clip.cacheAsBitmap = true;
mask.cacheAsBitmap = true;

clip.setMask("mask");

```

Thanks for any help!
