Effect is a visible change that can be added to a component occurring over a period of time and can be measured in milliseconds. Some of the examples of effects are resizing, fading, or moving a component.
Here is a sample code of ‘Wipe right’ effect –
<mx:Parallel id="WipeRightUp">
<mx:children>
<mx:WipeRight duration="1000"/>
<mx:WipeUp duration="1000"/>
</mx:children>
</mx:Parallel>
<mx:VBox id="myBox" hideEffect="{WipeRightUp}" >
<mx:TextArea id="aTextArea" text="hello"/>
</mx:VBox>
Here is a sample code of ‘Wipe right’ effect –
<mx:Parallel id="WipeRightUp">
<mx:children>
<mx:WipeRight duration="1000"/>
<mx:WipeUp duration="1000"/>
</mx:children>
</mx:Parallel>
<mx:VBox id="myBox" hideEffect="{WipeRightUp}" >
<mx:TextArea id="aTextArea" text="hello"/>
</mx:VBox>





