Flash gradient mask

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.



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

clip.setMask("mask");


Thanks for any help!