EasyManua.ls Logo

MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE - Bevelfilter Constructor

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...
276 ActionScript classes
BevelFilter constructor
public BevelFilter([distance:Number], [angle:Number],
[highlightColor:Number], [highlightAlpha:Number], [shadowColor:Number],
[shadowAlpha:Number], [blurX:Number], [blurY:Number], [strength:Number],
[quality:Number], [type:String], [knockout:Boolean])
Initializes a new BevelFilter instance with the specified parameters.
Availability: ActionScript 1.0; Flash Player 8
Parameters
distance:Number [optional] - The offset distance of the bevel, in pixels (floating point). The
default value is 4.
angle:Number [optional] - The angle of the bevel, from 0 to 360 degrees. The default value is
45.
highlightColor:Number [optional] - The highlight color of the bevel, 0xRRGGBB. The
default value is 0xFFFFFF.
highlightAlpha:Number [optional] - The alpha transparency value of the highlight color.
Valid values are 0 to 1. For example, .25 sets a transparency value of 25%. The default value is
1.
shadowColor:Number [optional] - The shadow color of the bevel, 0xRRGGBB. The default
value is 0x000000.
shadowAlpha:Number [optional] - The alpha transparency value of the shadow color. Valid
values are 0 to 1. For example, .25 sets a transparency value of 25%. The default value is 1.
blurX:Number [optional] - The amount of horizontal blur in pixels. Valid values are 0 to 255
(floating point). The default value is 4. Values that are a power of 2 (such as 2, 4, 8, 16 and
32) are optimized to render more quickly than other values.
blurY:Number [optional] - The amount of vertical blur in pixels. Valid values are 0 to 255
(floating point). The default value is 4. Values that are a power of 2 (such as 2, 4, 8, 16 and
32) are optimized to render more quickly than other values.
strength:Number [optional] - The strength of the imprint or spread. The larger the value,
the more color is imprinted and the stronger the contrast between the bevel and the
background. Valid values are 0 to 255. The default value is 1.
quality:Number [optional] - The number of times to apply the filter. The default value is 1,
which is equivalent to low quality. A value of 2 is medium quality, and a value of 3 is high
quality.

Table of Contents

Related product manuals