This content has been marked as final. Show 5 replies
still working on this, the bizzare thing is I can't even get a value whilst in the function like this:
Can anyone see why this is happening, I know it is reading in values from the xml because trace(var1) works fine...
Your myRow object is an associative array. So you need to access the elements not using the square brackets but with a dot. See code below;
Thanks for your reply, that works fine, but I need to test whether each my row object is being added to list correctly, hence the code trace(list.Var1);
But it's still outputting undefined...
Fixed it, list[n] = myRow; seems to work,
Thanks for your help :)
Ah, I am sorry I must have overlooked that list array you had in the function. Ok the code below should highlight how to access the element elements.