<? XML version = "1.0" encoding = "UTF-8"?>
<! -- Simple example to demonstrate the glow effect. -->
<Mx: Application xmlns: MX = "http://www.adobe.com/2006/mxml">
<Mx: glow id = "glowimage" Duration = "1000"
Alphafrom = "1.0" alphato = "0.3"
Blurxfrom = "0.0" blurxto = "50.0"
Bluryfrom = "0.0" bluryto = "50.0"
Color = "0x00ff00"/>
<Mx: glow id = "unglowimage" Duration = "1000"
Alphafrom = "0.3" alphato = "1.0"
Blurxfrom = "50.0" blurxto = "0.0"
Bluryfrom = "50.0" bluryto = "0.0"
Color = "0x0000ff"/>
<Mx: panel title = "Glow effect example" width = "75%" Height = "75%"
Paddingtop = "10" paddingleft = "10" paddingright = "10" paddingbottom = "10">
<Mx: Text width = "100%" color = "blue"
TEXT = "Click and hold the mouse on the image to see glowimage effect. Release the mouse to see unglowimage effect."/>
<Mx: Image Source = "@ embed (Source = 'pic/1. jpg ')"
Mousedowneffect = "{glowimage }"
Mouseupeffect = "{unglowimage}"/>
</MX: Panel>
</MX: Application>
Alphafrom, alphato, transparency of the start and end, 1 is completely opaque, 0 is completely transparent.
The Blur series is fuzzy (0 ~ 255)
Color is the halo color.