1 Reply Latest reply on Aug 16, 2007 7:15 AM by ntsiii

    delete element from an array

    MyronCope
      trying to delete an item in an array and I have the following:
      intIdxSelected is the number in the array to be deleted and I checked this by looking at the variables when I had a breakdpoint in there and that value is good but arrDeleted array is always null.

      what am I doing wrong here? thanks, code below

      <CODE>
      var arrDeleted:Array = arrMessages.splice(intIdxSelected,1);
      </CODE>