Chapter 17. Using Shapes, Masks, Blends, and Filters

ActionScript has the ability to draw shapes at runtime. When you need a simple shape to act as a background, button, or mask, using the Shape class of the ActionScript Drawing API to draw the shape is usually advantageous as shapes can be drawn in specific locations of an application at will. Once a shape has been drawn with ActionScript, it can also dynamically mask other display objects.

Dynamically drawn shapes (and loaded or embedded images) in an application can be visually merged by applying blend modes with ActionScript. Blend modes are algorithms that affect the color difference between two overlapping display objects. In addition, you can apply drop shadows, blurs, beveling, and embossing ...

Get ActionScript 3.0: Visual QuickStart Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.