title: More efficient way to remove an element from an array in Actionscript 3
body: <p>I have an array of objects.  Each object has a property called name.  I want to efficiently remove an object with a particular name from the array.  Is this the BEST way?</p>
  
  <pre><code>  private function RemoveSpoke(Name:String):void {
      var Temp:Array=new Array;
      for each (var S:Object in Spokes) {
        if (S.Name!=Name) {
          Temp.push(S);
        }
      }
      Spokes=Temp;
    }
  </code></pre>