2 Replies Latest reply on Nov 14, 2009 2:49 PM by Yannis Develekos

    Trying to get a range of values from xmllist

    1advent

      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:

       

           var a:int;

           for (a = 0; a < 5; a++)

           {

                var i:int = a+5;

                xml2[a] = xml1[i];

                min++;

           }

       

      I'm at a lost for what is going wrong, can someone take a look please? i am getting nothing in xml2.

       

      Josh