     }
     
     /**
+	 *  @copy mx.resources.IResourceManager#initializeLocaleChain()
+	 */
+	public function initializeLocaleChain(compiledLocales:Array):void
+    {
+        localeChain = LocaleSorter.sortLocalesByPreference(
+            compiledLocales, getSystemPreferredLocales(), null, true);
+    }
+
+    /**
      *  @copy mx.resources.IResourceManager#loadResourceModule()
      */
     public function loadResourceModule(url:String, updateFlag:Boolean = true,

        }
        return locales;
    }
    
    /**
     *  @copy mx.resources.IResourceManager#getBundleNamesForLocale()

    }
    
    /**
     *  @private
     */  
    private function getSystemPreferredLocales():Array /* of String */
    {
    	var systemPreferences:Array;
        
        // Capabilities.languages was added in AIR 1.1,
        // so this API may not exist.
        if (Capabilities["languages"])
        	systemPreferences = Capabilities["languages"];
        else
        	systemPreferences = [ Capabilities.language ];

        return systemPreferences;
    }
    
    /**
     *  @private.
     */
    private function dumpResourceModule(resourceModule:*):void
