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: [email protected] [mailto:[email protected]] On
Behalf Of markflex2007
Sent: Tuesday, July 21, 2009 3:57 PM
To: [email protected]
Subject: [flexcoders] variables name are in array

 

  

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++)
{
arrName[i] = arrValue[i]; 
} 

Thanks a lot.

Mark



Reply via email to