O'Reilly logo

ActionScript 3.0: Visual QuickStart Guide by Derrick Ypenburg

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required