 
 package reprise.controls.html
 {
-	import flash.display.Bitmap;
-	import flash.display.BitmapData;
-	import flash.events.Event;
-	
+	import reprise.core.reprise;
 	import reprise.events.DisplayEvent;
 	import reprise.events.ResourceEvent;
 	import reprise.external.BitmapResource;
-	import reprise.ui.UIComponent; 
+	import reprise.ui.UIComponent;
+	
+	import flash.display.Bitmap;
+	import flash.display.BitmapData;
+	import flash.events.Event;		
+	
+	use namespace reprise;
 
 	public class Image extends UIComponent
 	{

			{
				m_lowerContentDisplay.removeChild(m_image);
			}
			m_image = new Bitmap(BitmapData(m_imageLoader.content()));
			m_lowerContentDisplay.addChild(m_image);
			invalidate();
			dispatchEvent(new DisplayEvent(DisplayEvent.LOAD_COMPLETE));
		}
		
		protected override function measure() : void
		{
			if (!(m_imageLoader && m_imageLoader.didSucceed()))

				m_intrinsicHeight = 0;
				return;
			}
			m_intrinsicWidth = BitmapData(m_imageLoader.content()).width;
			m_intrinsicHeight = BitmapData(m_imageLoader.content()).height;
		}
	}
}