by Adobe

Adobe logo


15 July 2010

Adobe Flash Player provides a mask feature for visually cropping display objects within a shape. The process involves creating a shape and applying it to the "mask" property of another display object. Masks can stay stationary while the object being masked moves—or masks can animate above the object to create transitions and special effects.

This sample demonstrates three types of masks. Click the buttons to see the different effects.