title: AS3 as vs Class()
body: <p>I don't fully understand the advantages/disadvantages between these two methods of typecasting in this example:</p>
  
  <pre><code>for each(var i:DisplayObject in _display)
  {
      trace(i as Sprite);
      trace(Sprite(i));
  }
  </code></pre>
  
  <p>Is there a recommendation around this at all? I've always wrapped in <code>Class()</code> like the latter example but <code>as</code> sometimes reads more easily.</p>