title: ActionScript 3 - set text of textField inside a movieClip through a variable
body: <p>There's a movieClip on stage with the instance name of <code>movieClipA</code> which contains a <code>textField</code> with the instance name of <code>myTextField</code>. </p>
  
  <p>There's also a string variable named <code>whichTextField</code> which it's value is set to <code>myTextField</code>.</p>
  
  <pre><code>var whichTextField:String = "myTextField";
  movieClipA.myTextField.text = "ABC"; // WORKS.
  
  movieClipA.whichTextField.text = "ABC"; // DOESN'T WORK.
  </code></pre>
  
  <p>how can I use the word <code>whichTextField</code> in my code to make it work?</p>