Re: [flexcoders] Arrays, iteration, and referencing local variables?

2007-11-30 Thread Lex
Got it with: private function initApp():void{ var elements:Array = [ scrmurl, form_title, form_email, form_subject, form_message, form_submit, category, confirmText, wait, success_title, success ]; for( var i:String in elements ){ if( Application.application.parameters[i] ) this[i]

RE: [flexcoders] Arrays, iteration, and referencing local variables?

2007-11-30 Thread Gordon Smith
@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Lex Sent: Friday, November 30, 2007 10:42 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Arrays, iteration, and referencing local variables? Got it with: private function initApp():void{ var elements:Array = [ scrmurl