The following file formats are supported to be embedded in the compiled application: SWF, SVG, PNG, JPG, GIF To embed an image use the @Embed directive:<mx:Image source="@Embed{'pathToImage'}"/> Or use:<mx:Script> <![CDATA[ [Embed(source='pathToImage')] private var myImage:Class; ]]> </mx:Script> |
