carly31
2/2/2016 - 6:02 AM

BitmapImage

<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
			   xmlns:s="library://ns.adobe.com/flex/spark">
	<!-- this tag represents a Spark BitmapImage element. The Spark namespace is
	defined in the <s:Application> tag. The BitmapImage elemtn will define a
	region within its parent element to display the 'source' which we define as
	an internal image file by using the @Embed() directive. We centre the image
	in the parent by define its vertical and horizontal centres to be the origin -->
	<s:BitmapImage source="@Embed('assets/logo.gif')" verticalCenter="0" horizontalCenter="0" />
</s:Application>