Glow effectStart event : Glow Effect « Effects « Flex






Glow effectStart event

Glow effectStart 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" 
                effectStart="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 effectEnd eventGlow effectEnd event
4.Glow EffectGlow Effect
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