Use a relative path to reference an image in an assets directory
<?xml version="1.0"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"> <mx:Image id="loader1" source="@Embed(source='logo.jpg')"/> </mx:Application>