// >> hideObject: false
// >> strength: 1
// >> blurY: 16
// >> blurX: 16
// >> knockout: false
// >> inner: false
// >> quality: 3
// >> alpha: 0.8
// >> color: 0
// >> angle: 45
// >> distance: 15
}
To further demonstrate the relationships between
the following example modifies the
demonstrates that the
instead of pointing to them in reference.
filter_1
import flash.filters.DropShadowFilter;
var filter_1:DropShadowFilter = new DropShadowFilter(15, 45, 0x000000, .8,
16, 16, 1, 3, false, false, false);
var filter_2:DropShadowFilter = filter_1;
var clonedFilter:DropShadowFilter = filter_1.clone();
trace(filter_1.knockout); // false
trace(filter_2.knockout); // false
trace(clonedFilter.knockout); // false
filter_1.knockout = true;
trace(filter_1.knockout); // true
trace(filter_2.knockout); // true
trace(clonedFilter.knockout); // false
color (DropShadowFilter.color property)
public color : Number
The color of the shadow. Valid values are in hexadecimal format 0xRRGGBB. The default
value is 0x000000.
Availability: ActionScript 1.0; Flash Player 8
Example
The following example changes the
clicks it.
import flash.filters.DropShadowFilter;
536
ActionScript classes
knockout
method creates a new instance based on the values of
clone()
property on an existing movie clip when a user
color
,
filter_1
filter_2
property of
filter_1
, and
clonedFilter
. Modifying
knockout
,
Need help?
Do you have a question about the FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE and is the answer not in the manual?