# Tweened gradient mask not working above flash 8

**URL:** <https://forum.kirupa.com/t/tweened-gradient-mask-not-working-above-flash-8/296384>\
**Category:** flash\
**Created:** [September 14, 2009, 1:57pm UTC](https://forum.kirupa.com/t/tweened-gradient-mask-not-working-above-flash-8/296384 "2009-09-14T13:57:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![digival](https://avatars.discourse-cdn.com/v4/letter/d/a3d4f5/32.png) [@digival](https://forum.kirupa.com/u/digival)\
**Post date:** [September 14, 2009, 1:57pm UTC](https://forum.kirupa.com/t/tweened-gradient-mask-not-working-above-flash-8/296384/1 "2009-09-14T13:57:09Z")

</div>

I’m using a gradient mask in Flash CS4 and have it tweened - when I publish it in flash 10, although the gradient is visibly masked - it doesn’t move. When I publish it in flash 8, however, it moves. I’m using the code:

maskMC.cacheAsBitmap = true;  
maskee.cacheAsBitmap = true;

maskee.setMask( maskMC );

Can anyone please tell me how to get this to work with flash 9 or 10 publishing?
