 				
 				className = className.substr(className.lastIndexOf(':') + 1);
 				_isComplete = true;
-				throw new Error('No texture can be created from an object of type \'' + className + '\'');
+				
+				throw new Error(
+					'No texture can be created from an object of type \'' + className + '\''
+				);
 			}
 		}
 		

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

			if (assetObject is Bitmap || assetObject is BitmapData)
			{
				var bitmapData : BitmapData = assetObject as BitmapData;
				
				if (bitmapData == null)
					bitmapData = Bitmap(assetObject).bitmapData;
				
				_textureResource.setContentFromBitmapData(bitmapData, _mipmap);
				bitmapData.dispose();
				
				_isComplete = true;
				_complete.execute(this, _textureResource);
			}
