Glow Effect : Glow Effect « Effects « Flex






Glow Effect

Glow Effect
    
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" backgroundColor="#eeeeee">
  <mx:Glow id="myGlowOn" blurXFrom="0" blurYFrom="0" blurXTo="20" blurYTo="20" color="black" alphaFrom="1.0" alphaTo="0.5"/>
  <mx:Glow id="myGlowOff" blurXFrom="20" blurYFrom="20" blurXTo="0" blurYTo="0" color="black" alphaFrom=".5" alphaTo="1"/>
  <mx:Label x="22" y="24" text="Roll in and roll out" fontSize="14" fontWeight="bold"/>
  <mx:Image source="logo.jpg" x="366" y="55" rollOverEffect="{myGlowOn}" rollOutEffect="{myGlowOff}"/>

</mx:Application>

   
    
    
    
  








Related examples in the same category

1.Playing an effect with ActionScript and Glow controlPlaying an effect with ActionScript and Glow control
2.Using a Glow effect on the buttonUsing a Glow effect on the button
3.Glow effectStart eventGlow effectStart event
4.Glow effectEnd eventGlow effectEnd event
5.Apply Glow effectApply Glow effect
6.Glow activate eventGlow activate event
7.Glow deactivate eventGlow deactivate event
8.Glow tweenUpdate eventGlow tweenUpdate event
9.Glow tweenStart eventGlow tweenStart event
10.Glow tweenEnd eventGlow tweenEnd event