title: Delete from array with reindex - AS3.0
body: <p>I would like to delete a item from my array and still have the same index for every item afterwards.</p>
  
  <p>Example</p>
  
  <pre><code>var arr:Array = new Array();
  arr[1] = 'One';
  arr[2] = 'Two';
  arr[3] = 'Three';
  
  arr.splice(2, 1);
  
  for(var index in arr) {
      trace(index+':'+arr[index]);
  }
  </code></pre>
  
  <p>Outputs:</p>
  
  <pre><code>1:One
  2:Three
  </code></pre>
  
  <p>And should ouput</p>
  
  <pre><code>1:One
  3:Three
  </code></pre>
  
  <p>Anyone that could help me a little bit here? :-)</p>