See also
addListener (AsBroadcaster.addListener method)
(AsBroadcaster.initialize method)
BevelFilter (flash.filters.BevelFilter)
Object
|
+-flash.filters.BitmapFilter
|
+-flash.filters.BevelFilter
public class BevelFilter
extends BitmapFilter
The BevelFilter class lets you add a bevel effect to a variety of objects in Flash. A bevel effect
gives objects such as buttons a three-dimensional look. You can customize the look of the
bevel with different highlight and shadow colors, the amount of blur on the bevel, the angle of
the bevel, the placement of the bevel, and a knockout effect.
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 setting by clearing the
To apply filters to BitmapData instances, use the
Calling
applyFilter
the filter object and generates a filtered image.
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.
This filter supports stage scaling. However, it does not support general scaling, rotation, and
skewing. If the object itself is scaled (if
scaled. It is scaled only when you zoom in on the Stage.
A filter is not applied if the resulting image exceeds 2880 pixels in width or height. If, for
example, 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
272
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
,
initialize
property.
BitmapData.applyFilter()
property of the movie clip
cacheAsBitmap
cacheAsBitmap
and
are not 100%), the filter is not
_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?