title: as3 duplicating a text field without removing it from stage
body: <p>I am trying to duplicate a text field. First I get the text with a mc.getChildAt(0) and then copy all the contents into a new textfield. The problem I am having is that getChildAt removes the textfield from the movieclip it is in. How to I get the properties of the textfield without moving it?  Or maybe it is something else and what I am doing is fine. Any insight would be a huge help...</p>
  
  <pre><code>var dupeTField:MovieClip = duplicateTextField($value.sourceImg.getChildAt(0));
  
  private function duplicateTextField($textField):MovieClip
          {
              var currTextField:TextField = $textField;
              var dupeTextHolder:MovieClip = new MovieClip();
              var dupeTextField:TextField = new TextField();
              dupeTextField.text = currTextField.text;
              dupeTextField.textColor = currTextField.textColor;
              dupeTextField.width = $textField.width;
              dupeTextField.height = $textField.height;
              dupeTextHolder.addChild(dupeTextField);
  
  
              return dupeTextHolder;
  
          }
  </code></pre>