Tuesday, March 20, 2007

Gradient Masks in Flash 8

Make two movieclips:

1. The "maskee" which is just a regular MovieClip containing a picture.
2. The "mask" which is also a movieClip but contains some blends that fade to a solid color to clear

maskee.cacheAsBitmap=true
mask.cacheAsBitmap=true
mask.setMask(maskee)

No comments: