I'm trying to do something like this, but am unsure of the proper language constructs in Flex:
var a:String = ""; var b:String = ""; var c:String = ""; private function initApp():void{ var elements:Array = [ "a", "b", "c" ]; for( var i:String in elements ){ if( Application.application.parameters.i ) this.i = Application.application.parameters.i; } } Just trying to init some vars if they were set, but not sure how to reference the this.i part.. Thanks! Alex