Return to Snippet

Revision: 15129
at June 25, 2009 11:56 by spastic


Initial Code
var keyStr:String;
var valueStr:String;
var theVars:Array = new Array();



try {
    
    var paramObj:Object = LoaderInfo(this.root.loaderInfo).parameters;
   	for (keyStr in paramObj) {
        valueStr = String(paramObj[keyStr]);
		theVars.push({key:keyStr, val:valueStr});
	
   }
    
   init();
} catch (error:Error) {
    trace(error.toString());
}

Initial URL

                                

Initial Description
pass variables from from url into flash

Initial Title
loaderinfo variables

Initial Tags
flash

Initial Language
ActionScript 3