title: How to overcome implicit coercion? (Casting to custom class)
body: <p>I have a class that extends the <code>Sprite</code> class (which makes it a <code>DisplayObject</code>), and I have added it as a child to <code>stage</code> for visualization: <code>stage.addChild(object)</code>. </p>
  
  <p>I would like to make an alteration to this object by taking a reference to it out of the stage and work with it (<code>stage.getChildByName(object)</code>), but now the object I receive from the stage is of type <code>DisplayObject</code>. If I am sure this object received from the stage is of my class - can I cast the displayObject to my class somehow?     </p>