title: getElementById equivalent in Actionscript?
body: <p>I want to dynamically access a bunch of objects in my mxml. I can construct their name/id. In Javascript I can do <code>getElementById(ID)</code> to get the object. How can I do this in <strong>Actionscript</strong>? </p>
  
  <p>I really can't do <code>getChildByName</code> because it is too cumbersome: I have access to object A, which has a child B, which has a child C, which have the children D, E &amp; F (their names are related to A's name). I want to get D, E &amp; F. For <code>getChildByName</code>, it seems I have to use A to get B, then get C, and then get D, E &amp; F. And if add a new parent to B (change the mxml hierarchy), then the code will break... And I really don't want to do that. </p>
  
  <p>Any advice?
  Thx!</p>
  
  <p><strong>Update: What I am asking is, how do I access object D given its name and/or id, both of which are strings.</strong></p>