import mx.controls.Image;
import mx.effects.Fade;
private var myImage:Image = new Image();
private function initApp():void{
this.addChild(myImage);
myImage.source = "logo.jpg";
myImage.x=150;
myImage.y=100;
myImage.setStyle("showEffect", new Fade());
myImage.setStyle("hideEffect", new Fade());
}