use the Application.application.parameters property to iterate through the parameters passed to the SWF application.
--- On Tue, 8/26/08, bryancostanich <[EMAIL PROTECTED]> wrote: From: bryancostanich <[EMAIL PROTECTED]> Subject: [flexcoders] can't loop through parameters To: [email protected] Date: Tuesday, August 26, 2008, 2:56 AM 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?

