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++)
{
@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
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
] 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
4 matches
Mail list logo