Convolutionfilter (Flash.filters.convolutionfilter) - MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE Reference

Actionscript 2.0 language reference
Table of Contents

Advertisement

stopMenuItem.visible = false;
}
function startHandler(obj, item) {
trace("Starting... "+getTimer()+"ms");
startMenuItem.visible = false;
stopMenuItem.visible = true;
}
this.menu = my_cm;
ConvolutionFilter
(flash.filters.ConvolutionFilter)
Object
|
+-flash.filters.BitmapFilter
|
+-flash.filters.ConvolutionFilter
public class ConvolutionFilter
extends BitmapFilter
The ConvolutionFilter class applies a matrix convolution filter effect. A convolution
combines pixels in the input image with neighboring pixels to produce an image. A wide
variety of imaging operations can be achieved through convolutions, including blurring, edge
detection, sharpening, embossing, and beveling. You can apply this effect on bitmaps and
MovieClip instances.
The use of filters depends on the object to which you apply the filter:
To apply filters to movie clips at runtime, use the
property of an object does not modify the object and can be undone by clearing the
property.
filters
To apply filters to BitmapData instances, use the
Calling
applyFilter()
the filter object and generates a filtered image as a result.
You can also apply filter effects to images and video at authoring time. For more information,
see your authoring documentation.
If you apply a filter to a movie clip or button, the
or button is set to
true
restored.
on a BitmapData object takes the source BitmapData object and
. If you clear all filters, the original value of
property. Setting the
filters
BitmapData.applyFilter()
cacheAsBitmap

ConvolutionFilter (flash.filters.ConvolutionFilter)

filters
method.
property of the movie clip
is
cacheAsBitmap
457

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE and is the answer not in the manual?

This manual is also suitable for:

Flash 8

Table of Contents

Save PDF