|
Flash8 - GlowFilter
8
12
462 bytes
718 bytes
2005-10-04 00:00:00
2005-10-05 10:24:30
Oldes (oliva.david@seznam.cz)

To test and demonstrate the GlowFilter
|
|
background 153.165.139
shp_box: shape [fill color 0.0.0 box -50x-50 50x50]
spr_box: sprite shp_box
box: place spr_box at 160x160
doAction [
myGlow: make flash.filters.GlowFilter[
#FFFFFF ;color
0.5 ;alpha
8 ;blurX
8 ;blurY
2 ;strength
2 ;quality
false ;inner
false ;knockout
]
setGlow: func[mc][
myGlow.blurX: myGlow.blurY: random 100
mc.filters: [myGlow]
]
int: setInterval(setGlow 100 box)
]
showFrame end
|