i’m having a problem with my xml coming in backwards…not sure why. this is the type of code i’m using…it shows my problem exactly.
var myArray:Array = ["one", "two", "three"];
for (var i:String in myArray) {
trace(myArray*);
}
the output of this is:
three
two
one
which means “i” is outputting as 2, 1, 0.
so when i bring in my xml using for it outputs it backwards…and i have to use a for statement. anybody have any ideas on getting it to read 0, 1, 2?