I have a xmllist (we'll call xml1) with the values (-15, 20, 25, 10, -3, 0, -50, -45, 10, 12, 54, 45, 27, -5)
I want to send the 3rd value to the 8th value to xml2.
my attempt, which fails is:
for (a = 0; a < 5; a++)
var i:int = a+5;
xml2[a] = xml1[i];
I'm at a lost for what is going wrong, can someone take a look please? i am getting nothing in xml2.
slice was the key word...
xml2 = xml1.slice(3,9);
Useful! Thanks for posting the solution.