Bevelfilter Constructor - MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE Reference

Actionscript 2.0 language reference
Table of Contents

Advertisement

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
[optional] - The offset distance of the bevel, in pixels (floating point). The
distance:Number
default value is 4.
[optional] - The angle of the bevel, from 0 to 360 degrees. The default value is
angle:Number
45.
highlightColor:Number
default value is 0xFFFFFF.
highlightAlpha:Number
Valid values are 0 to 1. For example, .25 sets a transparency value of 25%. The default value is
1.
shadowColor:Number
value is 0x000000.
shadowAlpha:Number
values are 0 to 1. For example, .25 sets a transparency value of 25%. The default value is 1.
[optional] - The amount of horizontal blur in pixels. Valid values are 0 to 255
blurX:Number
(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.
[optional] - The amount of vertical blur in pixels. Valid values are 0 to 255
blurY:Number
(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.
[optional] - The strength of the imprint or spread. The larger the value,
strength:Number
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.
[optional] - The number of times to apply the filter. The default value is 1,
quality:Number
which is equivalent to low quality. A value of 2 is medium quality, and a value of 3 is high
quality.
276
ActionScript classes
[optional] - The highlight color of the bevel, 0xRRGGBB. The
[optional] - The alpha transparency value of the highlight color.
[optional] - The shadow color of the bevel, 0xRRGGBB. The default
[optional] - The alpha transparency value of the shadow color. Valid

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?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash 8

Table of Contents

Save PDF