Use ActionScript to set image properties
<?xml version="1.0"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"> <mx:Script> private function showImage():void { image1.visible=true; } </mx:Script> <mx:VBox id="vbox0" width="80" height="80"> <mx:Image id="image1" visible="false" source="@Embed(source='logo.jpg')" /> <mx:Button id="myButton" label="Show" click="showImage();" /> </mx:VBox> </mx:Application>