title: Dispatch Paste Event in AS3
body: <p>This is my AS3 code for a textbox with an instance name of <code>myTextBox</code> placed on stage -:</p>
  
  <pre><code>import flash.display.*;
  import flash.events.*;
  
  myTextBox.text = 'Hello India';
  myTextBox.addEventListener(Event.PASTE, onPaste)
  
  function onPaste(e:Event):void
  {
      trace("lol");
  }
  </code></pre>
  
  <p>But when i paste some text into the text box, nothing happens. Can't figure out the issue. Thanks for help...</p>