Previous Page
Next Page

Recipe 16.9. Applying Filters to Video

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


Previous Page
Next Page
Converted from CHM to HTML with chm2web Pro 2.85 (unicode)