 //
 ////////////////////////////////////////////////////////////////////////////////
 
-package spark.core.contentLoader
+package spark.core
 {
 
 import flash.display.Loader;
 import flash.display.LoaderInfo;
 import flash.events.Event;
 import flash.events.EventDispatcher;
+import flash.events.HTTPStatusEvent;
 import flash.events.IOErrorEvent;
 import flash.events.ProgressEvent;
 import flash.events.SecurityErrorEvent;
 import flash.net.URLRequest;
 import flash.system.LoaderContext;
+
+import spark.events.LoaderInvalidationEvent;
 
 import mx.core.mx_internal;
 use namespace mx_internal;

            _content.removeEventListener(IOErrorEvent.IO_ERROR, content_ioErrorHandler);
            _content.removeEventListener(ProgressEvent.PROGRESS, dispatchEvent);
            _content.removeEventListener(SecurityErrorEvent.SECURITY_ERROR, dispatchEvent);
        }
    }
    

            removeLoaderListeners();
        }
    }
    
    /**
     * @private
     */ 
    mx_internal function content_ioErrorHandler(e:Event):void
    {
        if (e.target == _content)
        {
            if (hasEventListener(IOErrorEvent.IO_ERROR))
                dispatchEvent(e);
        }
    }
    
    /**
     * @private
