Method summary
Modifiers
Signature
clone() :
GradientGlowFilter
Methods inherited from class BitmapFilter
clone (BitmapFilter.clone method)
Methods inherited from class Object
addProperty (Object.addProperty
(Object.hasOwnProperty
(Object.isPropertyEnumerable
method),
registerClass (Object.registerClass
(Object.toString
(Object.valueOf
method),
alphas (GradientGlowFilter.alphas property)
public alphas : Array
An array of alpha transparency values for the corresponding colors in the
values for each element in the array are 0 to 1. For example, .25 sets the alpha transparency
value to 25%.
The
property cannot be changed by directly modifying its values. Instead, you must
alphas
get a reference to
alphas
reference.
The
,
colors
alphas
array corresponds to the first element in the
Availability: ActionScript 1.0; Flash Player 8
Example
The following example changes the
clicks it.
import flash.filters.GradientGlowFilter;
var mc:MovieClip = createGradientGlowRectangle("GlowAlphas");
mc.onRelease = function() {
var filter:GradientGlowFilter = this.filters[0];
var alphas:Array = filter.alphas;
alphas.pop();
634
ActionScript classes
Description
Returns a copy of this filter object.
method),
method),
isPropertyEnumerable
method),
method),
unwatch (Object.unwatch
watch (Object.watch method)
, make the change to the reference, and then set
, and
properties are all related. The first element in the
ratios
alphas
hasOwnProperty
isPrototypeOf (Object.isPrototypeOf
method),
method),
array and in the
alphas
property on an existing movie clip when a user
toString
valueOf
array. Valid
colors
to the
alphas
colors
array, and so on.
ratios
Need help?
Do you have a question about the FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE and is the answer not in the manual?