import mx.effects.Fade;
private function showImage():void{
var myFade:Fade = new Fade();
myFade.target = myImage;
myFade.alphaFrom = 0;
myFade.alphaTo = 1;
myFade.play();
}
private function hideImage():void{
var myFade:Fade = new Fade();
myFade.target = myImage;
myFade.alphaFrom = 1;
myFade.alphaTo = 0;
myFade.play();
}