Gradient Masks with AS2

Hi, I just learned MASKING today. I wanted to ask if it’s possible to GRADIENT MASK a text using AS2?

I wanted to tween a sentence and mask it but timeline masking reveals a sharp edge. I wanted the edges to be soft/feathered-like so that when the sentence appears in the frame, it looks gradual.

I found a youtube video that does it for Bitmaps using “cacheAsBitmaps”, so I thought is there “cacheAsText” ?
Here is the youtube video I’m talking about: https://www.youtube.com/watch?v=U5RtkhmkilM

thanks

Oooops! I found the answer to my question…

for AS2, it’s

mymovie_mc.cacheAsBitmap = true;
mymask_mc.cacheAsBitmap = true;

mymovie_mc.setMask("mymask_mc");

Cool

1 Like