EasyManua.ls Logo

MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE - Matrixx (Convolutionfilter.matrixx Property); Matrixy (Convolutionfilter.matrixy Property); Preservealpha (Convolutionfilter.preservealpha Property)

MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE
1378 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
468 ActionScript classes
matrixX (ConvolutionFilter.matrixX property)
public matrixX : Number
The x dimension of the matrix (the number of columns in the matrix). The default value is 0.
Availability: ActionScript 1.0; Flash Player 8
Example
The following example displays the
matrixX property of filter.
import flash.filters.ConvolutionFilter;
var filter:ConvolutionFilter = new ConvolutionFilter(2, 3, [1, 0, 0, 1, 0,
0], 6);
trace(filter.matrixX); // 2
matrixY (ConvolutionFilter.matrixY property)
public matrixY : Number
The y dimension of the matrix (the number of rows in the matrix). The default value is 0.
Availability: ActionScript 1.0; Flash Player 8
Example
The following example displays the
matrixY property of filter.
import flash.filters.ConvolutionFilter;
var filter:ConvolutionFilter = new ConvolutionFilter(2, 3, [1, 0, 0, 1, 0,
0], 6);
trace(filter.matrixY); // 3
preserveAlpha (ConvolutionFilter.preserveAlpha
property)
public preserveAlpha : Boolean
Indicates what the convolution applies to. A value of false indicates that the convolution
applies to all channels, including the alpha channel. A value of
true indicates that the
convolution applies only to the color channels. The default value is
true.
Availability: ActionScript 1.0; Flash Player 8

Table of Contents

Related product manuals