 import flash.system.ApplicationDomain;
 import flash.system.LoaderContext;
 import flash.utils.ByteArray;
-import flash.utils.getQualifiedClassName;
 
 import mx.controls.SWFLoader;
 import mx.core.mx_internal;


import weave.api.WeaveAPI;
import weave.api.core.IDisposableObject;
import weave.api.core.ILinkableObject;
import weave.core.ClassUtils;
import weave.core.StageUtils;

/**

	 */
	public class LibraryUtils
	{
//		/**
//		 * This function gets a Class definition for a qualified class name.
//		 * @param classQName The qualified name of a class.
//		 * @return The class definition, or null if the class cannot be resolved.
//		 */
//		public static function getClassDefinition(classQName:String):Class
//		{
//			var domain:ApplicationDomain = ApplicationDomain.currentDomain;
//			if (domain.hasDefinition(classQName))
//				return domain.getDefinition(classQName) as Class;
//			return null;
//		}
		
		/**
		 * This function loads a SWC library into the current ApplicationDomain so getClassDefinition() and getDefinitionByName() can get its class definitions.
		 * The result passed to the asyncResultHandler function will be an Array containing the qualified class names of all the classes defined in the library.
