     public var loadFailedHandler:Function;
     public var loadStatusHandler:Function;
     
-    public function XObjSchemaLoader(schemaUrl:String=null, loadCompleteHandler:Function=null, loadFailedHandler:Function=null, loadStatusHandler:Function=null)
+    public function XObjSchemaLoader(schemaName:String=null, schemaUrl:String=null, loadCompleteHandler:Function=null, loadFailedHandler:Function=null, loadStatusHandler:Function=null)
     {
+        this.schemaName = schemaName;
         this.schemaUrl = schemaUrl;
         this.loadCompleteHandler = loadCompleteHandler;
         this.loadFailedHandler = loadFailedHandler;

    
    private function schemaLoader_xmlLoadHandler(event:XMLLoadEvent):void
    {
        message = "Loading schema " + event.location + "...";
        processStatus();
    }
    

    
    private function schemaLoader_faultHandler(event:FaultEvent):void
    {
        message = "Failed loading schema " + schemaName + " from " + schemaUrl + ": " + event.fault.faultString;
        processFailure();
    }
    
