 		{
 			_mipmap		= enableMipmapping;
 			
-			_isComplete = false;
-			_error		= new Signal();
-			_progress	= new Signal();
-			_complete	= new Signal();
+			_textureResource 	= new TextureResource();
+			_isComplete 		= false;
+			_error				= new Signal();
+			_progress			= new Signal();
+			_complete			= new Signal();
 		}
 		
 		public function load(request : URLRequest) : void
 		{
 			var loader : URLLoader = new URLLoader();
+			
 			loader.dataFormat = URLLoaderDataFormat.BINARY;
 			loader.addEventListener(ProgressEvent.PROGRESS, onLoadProgressHandler);
 			loader.addEventListener(Event.COMPLETE, onLoadCompleteHandler);

			
			if (displayObject is Bitmap)
			{
				_textureResource = new TextureResource();
				_textureResource.setContentFromBitmapData(Bitmap(displayObject).bitmapData, _mipmap);
				_complete.execute(this, _textureResource);
				_isComplete = true;

			
			return textureLoader.textureResource;
		}
		
		public static function load(request				: URLRequest,
									enableMipMapping 	: Boolean = true) : TextureResource
		{
			var textureLoader : TextureLoader = new TextureLoader(enableMipMapping);
			
			textureLoader.load(request);
			
			return textureLoader.textureResource;
		}
		
		public static function loadBytes(bytes				: ByteArray,
										 enableMipMapping 	: Boolean = true) : TextureResource
		{
			var textureLoader : TextureLoader = new TextureLoader(enableMipMapping);
			
			textureLoader.loadBytes(bytes);
			
			return textureLoader.textureResource;
		}
	}
}