Fade Behaviours alpha value and duration : alpha « Effects « Flex






Fade Behaviours alpha value and duration

Fade Behaviours alpha value and duration
         
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">

    <mx:Fade id="fadeInstance" alphaFrom="0" alphaTo="1" duration="1000" />
    <mx:Button label="Fade Button" creationCompleteEffect="{fadeInstance}" />
    
</mx:Application>

   
    
    
    
    
    
    
    
    
  








Related examples in the same category

1.Set alpha for controlSet alpha for control
2.Change alpha when creation completedChange alpha when creation completed
3.change the width, color, and alpha of the axis line with the tag.change the width, color, and alpha of the axis line with the <mx:axisStroke> tag.
4.alpha is short for alpha channel, and it is a number from 0 to 1 that controls how transparencyalpha is short for alpha channel, and it is a number from 0 to 1 that controls how transparency
5.Change alpha value for CanvasChange alpha value for Canvas
6.Change button alpha value when clicking the buttonChange button alpha value when clicking the button