show/hide effect
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" backgroundColor="#eeeeee"> <mx:Image id="myImage" source="logo.jpg" x="150" y="100" showEffect="Fade" hideEffect="Fade"/> <mx:Button x="150" y="375" label="Show Image" click="myImage.visible=true"/> <mx:Button x="374" y="375" label="Hide Image" click="myImage.visible=false"/> </mx:Application>