title: How to delete text from textArea in AS3, generated from another textArea
body: <p>I didn't know how to explain this in the title, but I have a textArea that generates text in another textArea in my application. It generates the text just fine:</p>
  
  <pre><code>gallery.txtArea1.addEventListener(TextEvent.TEXT_INPUT, displayEvent);
  
  function displayEvent(event:TextEvent):void {
          picArea1.text = gallery.txtArea1.text + event.text;
  }
  </code></pre>
  
  <p>But when I want to delete text from the dynamic text area picArea1, it doesn't capture that keyCode. So I added another event listener specifically for that:</p>
  
  <pre><code>gallery.txtArea1.addEventListener(KeyboardEvent.KEY_DOWN, onKeyPressed);
  
  function onKeyPressed(event:KeyboardEvent):void {
          if (event.keyCode == Keyboard.DELETE) {
              picArea1.text = gallery.txtArea1.text;
          }
  }
  </code></pre>
  
  <p>Just to refresh it. But it doesn't pick up on the delete either. What am I missing?</p>