Paste text programmatically.
Hello. I know that paste operaion can be performed only by user interaction (via context menu or by cntrl+V combination). But there're some confusing description of the Event.PASTE type:
'TextField objects always include Cut, Copy, Paste, Clear, and Select All commands in the context menu. You cannot remove these commands from the context menu for TextField objects. For TextField objects, selecting these commands (or their keyboard equivalents) does not generate clear, copy, cut, paste, or selectAll events. However, other classes that extend the InteractiveObject class, including components built using the Flash Text Engine (FTE), can dispatch these events.'
So, somehow I can dispatch paste event and it's possible to insert text programmatically? But how?
