title: AS3: TextField Focus
body: <p>I'm trying to handle a focus event on a TextField so I can select all the text when focusing (tab or click). Seems like I'm doing something wrong here ?</p>
  
  <pre><code>txtTextField.addEventListener(FocusEvent.FOCUS_IN, handleFocusIn);
  function handleFocusIn() {
   //select all text here
  }
  </code></pre>