Re: [flexcoders] variables name are in array

2009-07-29 Thread Alexander Tarelkin
Where is the breaking condition in the loop? On Wed, Jul 22, 2009 at 12:57 AM, markflex2007 markflex2...@yahoo.comwrote: I use a array to save variable names and other to save values,but why the following code doesn't work.please give me a idea. for(var i:int = 0;arrName.length; i++) {

RE: [flexcoders] variables name are in array

2009-07-29 Thread Tracy Spratt
@yahoogroups.com Subject: Re: [flexcoders] variables name are in array Where is the breaking condition in the loop? On Wed, Jul 22, 2009 at 12:57 AM, markflex2007 markflex2007@ mailto:markflex2...@yahoo.com yahoo.com wrote: I use a array to save variable names and other to save values,but why

RE: [flexcoders] variables name are in array

2009-07-21 Thread Keith Reinfeld
Because arrName.length == 0, perhaps? Try: for(var i:int = 0; arrValue.length; i++) { arrName[i] = arrValue[i]; } Regards, -Keith http://keithreinfeld.home.comcast.net http://keithreinfeld.home.comcast.net/ _ From: flexcoders@yahoogroups.com

RE: [flexcoders] variables name are in array

2009-07-21 Thread Gordon Smith
] On Behalf Of Keith Reinfeld Sent: Tuesday, July 21, 2009 2:28 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] variables name are in array Because arrName.length == 0, perhaps? Try: for(var i:int = 0; arrValue.length; i++) { arrName[i] = arrValue[i]; } Regards, -Keith http