GradientBevelFilter
(flash.filters.GradientBevelFilter)
Object
|
+-flash.filters.BitmapFilter
|
+-flash.filters.GradientBevelFilter
public class GradientBevelFilter
extends BitmapFilter
The GradientBevelFilter class lets you apply a gradient bevel effect to various objects in Flash.
A gradient bevel is a beveled edge, enhanced with gradient color, on the outside, inside, or top
of an object. Beveled edges make objects look three-dimensional.
The use of filters depends on the object to which you apply the filter:
To apply filters to movie clips, text fields, and buttons at runtime, use the
property. Setting the
can undo the filter by clearing the
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 during authoring. 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.
This filter supports Stage scaling. However, it does not support general scaling, rotation, and
skewing; if the object itself is scaled (if
is not scaled. It is scaled only when the Stage is zoomed.
A filter is not applied if the resulting image exceeds 2880 pixels in width or height. For
example, if you zoom in on a large movie clip with a filter applied, the filter is turned off if the
resulting image exceeds the limit of 2880 pixels.
Availability: ActionScript 1.0; Flash Player 8
612
ActionScript classes
property of an object does not modify the object, and you
filters
filters
on a BitmapData object takes the source BitmapData object and
. If you clear all filters, the original value of
_xscale
property.
BitmapData.applyFilter()
property of the movie clip
cacheAsBitmap
cacheAsBitmap
and
are not 100%), the filter effect
_yscale
filters
method.
is
Need help?
Do you have a question about the FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE and is the answer not in the manual?