MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE Reference page 649

Actionscript 2.0 language reference
Table of Contents

Advertisement

If you make two small changes in the code, the effect of the glow can be very different, even
with the same
ratios
0, to make the filter blend in with the document's white background; and set the
property to
"outer"
Keep in mind that the spread of the colors in the gradient varies based on the values of the
,
,
blurX
blurY
strength
Availability: ActionScript 1.0; Flash Player 8
Example
The following example changes the
clicks it.
import flash.filters.GradientGlowFilter;
var mc:MovieClip = createGradientGlowRectangle("GlowRatios");
mc.onRelease = function() {
var filter:GradientGlowFilter = this.filters[0];
var ratios:Array = filter.ratios;
ratios.shift();
ratios.unshift(40);
filter.ratios = ratios;
this.filters = new Array(filter);
}
and
arrays. Set the alpha value of the first color in the array to
colors
or
. Observe the results, as shown in the following images.
"inner"
, and
properties, as well as the
quality
ratios
GradientGlowFilter (flash.filters.GradientGlowFilter)
property on an existing movie clip when a user
type
values.
ratios
649

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