 
         dispatchEvent(new ModuleEvent(ModuleEvent.READY));
     }
+    
+    /**
+     *  @private
+     */
+    public function moduleErrorHandler(event:Event):void
+    {
+        //trace("Error: child load of " + _url + ");
+
+        _ready = true;
+
+        factoryInfo.bytesTotal = loader.contentLoaderInfo.bytesTotal;
+
+        clearLoader();
+
+        var errorEvent:ModuleEvent;
+        
+        if (event is ModuleEvent)
+            errorEvent = ModuleEvent(event);
+        else
+            errorEvent = new ModuleEvent(ModuleEvent.ERROR);
+             
+        dispatchEvent(errorEvent);
+    }    
 }
 
 ////////////////////////////////////////////////////////////////////////////////

        }

        loader.content.addEventListener("ready", readyHandler);

        try
        {

            try
            {
                if (loader.content)
                {
                    loader.content.removeEventListener("ready", readyHandler);
                    loader.content.removeEventListener("error", moduleErrorHandler);
                }
            }
            catch(error:Error)
            {
