package classes.matuto.utils.display
{
	import flash.display.BitmapData;
	import flash.display.DisplayObject;
	import flash.display.Sprite;
	
	import flash.utils.getDefinitionByName;
	
	
	public class LibraryExternal
	{
		
		public static function getLibrarySymbol(linkage:String):DisplayObject
		{
			
			
			var c               :Class              = getDefinitionByName(linkage) as Class;
			var obj             :DisplayObject      = new c() as DisplayObject;
			
			return obj;
			
		}
		
		public static function getLibraryImage(linkage:String):BitmapData
		{
			
			
			var c               :Class              = getDefinitionByName(linkage) as Class;
			var obj             :BitmapData         = new c(0, 0) as BitmapData;
			
			return obj;
			
		}
		
		public static function addToComponent():void
		{
			
			
			
		}
		
	}
	
}