                 callback(params);
             }
         );
-        loader.load(new URLRequest("file:parameters.xml"));
+        loader.load(new URLRequest(paramUrl));
     }
 
     /**

     */
    public static function getInfoParameters (loaderInfo :LoaderInfo, callback :Function) :void
    {
        // ensure that it's initialized...
        if (loaderInfo.url == null) {
            // Create a function to wait until the loaded object is initialized
            var initWaiter :Function = function (event :Event) :void {
                loaderInfo.removeEventListener(Event.INIT, initWaiter);

import flash.net.URLLoader;
import flash.net.URLRequest;

import flash.system.Capabilities;

/**
 * A utility for loading parameters from an XML file when run from
 * the local filesystem.
