# Gradient mask and external movie problem

**URL:** <https://forum.kirupa.com/t/gradient-mask-and-external-movie-problem/232167>\
**Category:** flash\
**Created:** [July 11, 2007, 4:57pm UTC](https://forum.kirupa.com/t/gradient-mask-and-external-movie-problem/232167 "2007-07-11T16:57:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![renis](https://avatars.discourse-cdn.com/v4/letter/r/6bbea6/32.png) [@renis](https://forum.kirupa.com/u/renis)\
**Post date:** [July 11, 2007, 4:57pm UTC](https://forum.kirupa.com/t/gradient-mask-and-external-movie-problem/232167/1 "2007-07-11T16:57:41Z")

</div>

Hi all,  
I have a movie that has a gradient mask in it:

sketch2.cacheAsBitmap = true;  
sketch\_mask.cacheAsBitmap = true;  
sketch2.setMask(“sketch\_mask”);

It works just fine until I try to load it externally into another movie. Any reason why this is and how I can fix it?

Thanks,  
renis
