Hi all,
i have a problem accessing the objects present inside an array.
For example,
var array:Array=new Array();
var obj:Object = {};
var int a=1; var int b=1;var int c=1; var int d=1;
for(i=0;i<4;i++)
{
obj[“a”]=a + i;
obj[“b”]=b + i;
obj[“c”]=c + i;
obj[“d”]=d + i;
array.push(obj);
}
Later I am able to get the array length but how can i get the values inside the objects??
One more thing is i am sending this array to php so how can i access the object values inside an array in php.
can anyone please provide me with the solution.
Thanks