Fade properties: alphaFrom, alphaTo, duration : Fade Effect « Effects « Flex






Fade properties: alphaFrom, alphaTo, duration

          
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
    <mx:Parallel id="editorFadeMove" target="{richText1}">
        <mx:Fade id="editorFade"
        alphaFrom="0"
        alphaTo="1"
        duration="2000"/>
        <mx:Move id="numbersMove" yBy="20" duration="2000"/>
    </mx:Parallel>
    <mx:Button label="Button" click="editorFadeMove.play();richText1.visible=true"/>
    <mx:RichTextEditor x="80" y="0" id="richText1" visible="false">
    </mx:RichTextEditor>
</mx:Application>

   
    
    
    
    
    
    
    
    
    
  








Related examples in the same category

1.Using the AnimateProperty effect to fade a buttonUsing the AnimateProperty effect to fade a button
2.Using the Fade effect on the buttonUsing the Fade effect on the button
3.A fade effectA fade effect
4.Use Fade class to add effect to panelUse Fade class to add effect to panel
5.Apply the Fade effect to the Label control using the system font
6.Fade effectEnd eventFade effectEnd event
7.Fade effect for ButtonFade effect for Button
8.Combine Fade and Move effect into SequenceCombine Fade and Move effect into Sequence
9.Combine Fade, Pause and Move effect into SequenceCombine Fade, Pause and Move effect into Sequence
10.Add Fade and Move effect into ParallelAdd Fade and Move effect into Parallel
11.Tooltip Fade effectTooltip Fade effect
12.Fade Effects for adding item to TileFade Effects for adding item to Tile
13.Fade Button creationCompleteEffectFade Button creationCompleteEffect
14.Fly fade effectFly fade effect
15.Using Fade effect so that ToolTips fade in when the user moves the mouse pointer over a component with a ToolTipUsing Fade effect so that ToolTips fade in when the user moves the mouse pointer over a component with a ToolTip
16.Fade PropertiesFade Properties
17.Fade DurationFade Duration