hi all, i need to pull some info from a parameter in flex. i've thrown
the following code in my init method (gets called on application
complete).
i pulled the code straight from an adobe blog, but it doesn't spit out
any parameters. the paramObj.length property gives me a 'null' value.
var keyStr:String;
var valueStr:String;
var paramObj:Object = LoaderInfo(this.root.loaderInfo).parameters;
this.debugOut(paramObj.length + "\n");
for (keyStr in paramObj)
{
valueStr = String(paramObj[keyStr]);
this.debugOut("\t" + keyStr + ":\t" + valueStr + "\n");
}
why would this happen?