Dispatch Paste Event in AS3
问题 This is my AS3 code for a textbox with an instance name of myTextBox placed on stage -: import flash.display.*; import flash.events.*; myTextBox.text = 'Hello India'; myTextBox.addEventListener(Event.PASTE, onPaste) function onPaste(e:Event):void { trace("lol"); } But when i paste some text into the text box, nothing happens. Can't figure out the issue. Thanks for help... 回答1: According to the documentation http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/events/Event