Glow tweenEnd event : Glow Effect « Effects « Flex






Glow tweenEnd event

Glow tweenEnd event
       

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical">
    
    <mx:Script>
        
            private function onEvent( event : Event ) : void
            {
                trace( event.type + " event occurred" );
            }
      
    </mx:Script>
    
    <mx:Button label="Play Effect" >
        <mx:mouseDownEffect>
            <mx:Glow color="#FF0000" 
                tweenEnd="onEvent( event )"/>
        </mx:mouseDownEffect>
    </mx:Button>
    
</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.Glow EffectGlow Effect
6.Apply Glow effectApply Glow effect
7.Glow activate eventGlow activate event
8.Glow deactivate eventGlow deactivate event
9.Glow tweenUpdate eventGlow tweenUpdate event
10.Glow tweenStart eventGlow tweenStart event