Use Image control to display image
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" backgroundColor="white"> <mx:Script> [Bindable] [Embed(source="logo.jpg")] public var imgStar:Class; </mx:Script> <mx:Image source="{imgStar}"/> </mx:Application>