Flex ~ Glow effect by GlowFilter

var glow:GlowFilter = new GlowFilter();
glow.color = 0x000000;
glow.alpha = 0.9;
glow.blurX = 10;
glow.blurY = 10;
glow.quality = BitmapFilterQuality.HIGH;
glow.strength = 4;
instruction.filters = [glow];


<mx:Label id="instruction" color="#FFFFFF" fontWeight="bold" text="text with glow effect." />

reference
http://livedocs.adobe.com/flex/3/html/help.html?content=Filtering_Visual_Objects_12.html

沒有留言:

發佈留言