5 Replies Latest reply on Aug 24, 2007 11:35 AM by adam@blueapplestudio

    pushing array into array

    Damon Edwards Level 3
      lets say I have
      var myAr:Array = new Array(value, value2, value3);
      var holdAr:Array = new Array();
      holdAr.push(myAr);

      when I trace out holdAr: value, value2, value3
      however, if I trace out holdAr[0], I get the same as tracing holdAr.... how can I push an array into a new array and keep the indexes?