I'm crossing my fingers that someone will be able to help out
on this, as I'm running out of ideas...
I have an array of n length. Each position contains and a
'test' object. What I can do now is var test1:text = array[n]; and
then I can reference test1.property and get the value out.
Problem is that i have an unknown number of objects in the
array (will change each time it runs), and I need to work with the
objects and reference them by a uniqueName.property (so I can add
var1.num + var2.num).
I have NO idea how to do this without writing long
complicated things, and creating variables that may be blank (there
can be at most 20 objects in the starting array).
Can anyone help out with this? Thank you so much if you can!
I'm not sure where the problem is. The array's length
property will give you the number of items in the array. Why can't
you just loop through the array and just add up array
.num? Or just refer to each item as array, array,