title: What does this mean -> ClassA( obj as MovieClip ) or var var_a : ClassA = new SomeOtherClass()
body: <p>I really get confused with these type of statements : </p>
  
  <p>What does this mean :</p>
  
  <ol>
  <li><p>when casting :</p>
  
  <p><code>var xyz =  ClassA( obj as MovieClip );</code> </p></li>
  <li><p>when declaring/defining :</p>
  
  <p><code>var xyz:ClassA  = new SomeOtherClass();</code> </p></li>
  </ol>
  
  <p>I mean, how 2 different classes are used in the same statements above ? Is this possible because of inheritance relationship ?</p>
  
  <p>Thanks
  V.</p>