You can use mask layers to reveal portions of a picture or graphic in the layer below. To create a mask, you specify that a layer is a mask layer, and either draw or place a filled shape on that layer. You can use any filled shape, including groups, text, and symbols, as a mask. The mask layer reveals the area of linked layers beneath the filled shape.
For a video tutorial about animating masks, see www.adobe.com/go/vid0127.
For a sample of scriptable masks, see the Flash Samples web page at www.adobe.com/go/learn_fl_samples. Download and decompress the Samples zip file and navigate to the Masking\ScriptableMasks folder to access the sample.
Create a mask layer
Mask additional layers after creating
a mask layerDrag an existing layer directly below the mask layer.
Create a new layer anywhere below the mask layer.
Select Modify > Timeline > Layer Properties, and select Masked.
Unlink layers from a mask layer
Select the layer to unlink and do
one of the following:
Drag the layer above the mask layer.
Select Modify > Timeline > Layer Properties, and select Normal.
Animate a filled shape, type object,
or graphic symbol instance on a mask layerIf the mask object is a filled shape, apply shape tweening to the object.
If the mask object is a type object or graphic symbol instance, apply motion tweening to the object.
Animate a movie clip on a mask
layer