 			else if (value is DisplayObject)
 			{
 				tmpSprite = value as DisplayObject;
-			}
-			else if (value is String)
-			{
-				var tmpClass:Class = Class(getDefinitionByName(String(value)));
-				tmpSprite = new tmpClass();
 			}
 			else if (value == null)
 			{

			
			var bitmapData:BitmapData;
			
			if (value is BitmapData)
			{
				bitmapData = BitmapData(value);
			}
			else if (value is Class)
			{
				var cls:Class = Class(value);
				tmpSprite = new cls();
			}
			else if (value is Bitmap)
			{
				bitmapData = value.bitmapData;

				
			if (!bitmapData && tmpSprite)
			{
				bitmapData = new BitmapData(tmpSprite.width, tmpSprite.height, true, 0);
				bitmapData.draw(tmpSprite, new Matrix());
			}
			
