ActionScript 3.0 Cookbook: Solutions for Flash Platform and Flex Application Developers

Problem

You want to apply filter effects (blur, color, displacement map, etc.) to a video.

Solution

Assign an array of all the filters you want to apply to the Video object's filters property.

Discussion

The Video class inherits the filters property from the DisplayObject class. That means you can apply filters to Video objects just as you would any display object (see Recipe 10.5).

See Also

Recipe 10.5

Категории