title: Using references vs getChildByName()
body: <p>I think of 2 approaches referring to some visual element like movieclip.  So suppose i have b_mc ( name="b") lying inside a_mc on the stage :
  1st approach : </p>
  
  <pre><code>var mc:MovieClip = a_mc.b_mc
  </code></pre>
  
  <p>2nd approach :</p>
  
  <pre><code>var mc:MovieClip = a_mc.getChildByName("b")
  </code></pre>
  
  <p>I generally use 1st approach. What can be good reason to go for 2nd approach. It sometimes seems useless to me, as it involves extra overhead to name the movieclips, when used dynamically.</p>
  
  <p>Thanks
  V.</p>