use "selectionBeginIndex" property.
<mx:TextInput id="txt" change="txt.selectionBeginIndex=0;"/>
However, the problem was the event I used. I tried 'paste' but it turned out to not work at all for my textarea.
Changing it to the 'change' event makes it work but makes it impossible to write text.
Why isnt the paste event dispatched when pasting text into the textarea ? Anyone ?
I got the situation.
what i could think in such is to disable the mouse for your input, and check the ctrl+v in every keyboard input.
<?xml version="1.0" encoding="utf-8"?>
private function checkPaste( event:KeyboardEvent ):void
if(event.ctrlKey && event.charCode==118)
let us know if any other way found.