|
Flash8 - DropShadowFilter
8
12
532 bytes
960 bytes
2005-10-05 00:00:00
2005-10-05 10:24:40
Oldes (oliva.david@seznam.cz)

To test and demonstrate the DropShadowFilter
|
|
background 153.165.139
shp_box: shape [
fill color 255.255.255
box -50x-50 50x50
circle 30
]
spr_box: sprite shp_box
box: place spr_box at 160x160
doAction [
myShadow: make flash.filters.DropShadowFilter[
10 ;distance:Number
75 ;angle:Number
#000000 ;color:Number
0.5 ;alpha:Number
4 ;blurX:Number
4 ;blurY:Number
2 ;strength:Number
2 ;quality:Number
false ;inner:Boolean
false ;knockout:Boolean
false ;hideObject:Boolean
]
setShadow: func[mc][
myShadow.distance: random 20
myShadow.angle: random 360
mc.filters: [myShadow]
]
int: setInterval(setShadow 100 box)
]
showFrame end
|