Reputation: 6707
How to set the caret position, there is only
this.caretIndex (READ)
Upvotes: 8
Views: 11803
Reputation: 12700
use setSelection(beginIndex:int, endIndex:int):void
setSelection(beginIndex:int, endIndex:int):void
eg
this.textField.setSelection(20, 20)
Upvotes: 17