         return absoluteURL;
     }
 
+    /**
+     *  @private
+     * 
+     *  Strip off the DYNAMIC string(s) appended to the url.
+     */
+    private static function dynamicURLFilter(url:String, index:int):String
+    {
+        return url.substring(0, index);
+    }
+
+    /**
+     *  @private
+     * 
+     *  Add together the protocol plus everything after "/[[IMPORT]]/".
+     */
+    private static function importURLFilter(url:String, index:int):String
+    {
+        var protocolIndex:int = url.indexOf("://");
+        return url.substring(0,protocolIndex + 3) + url.substring(index + 12);
+    }
 
     }
 }
     *  @param rootURL An url that will form the root of the absolute url.
     *  If the <code>rootURL</code> does not specify a file name it must be 
     *  terminated with a slash. For example, "http://a.com" is incorrect, it
     *  should be terminated with a slash, "http://a.com/".
     * 
     *  When loading resources relative to an application, the rootURL is 
     *  typically the loaderInfo.url of the application.

        if (rootURL &&
            !(url.indexOf(":") > -1 || url.indexOf("/") == 0 || url.indexOf("\\") == 0))
        {
            // First strip off the search string and then any url fragments.
            var index:int;
            
            if ((index = rootURL.indexOf("?")) != -1 )
                rootURL = rootURL.substring(0, index);

            if ((index = rootURL.indexOf("#")) != -1 )
                rootURL = rootURL.substring(0, index);
            
            // If the url starts from the current directory, then just skip
            // over the "./".
            // If the url start from the parent directory, the we need to
