I have a function that is called whenever you loose focus from a TextInput. I'd like that function to make sure that the text within this input shows the begginng of the text, instead of leaving the last bit (if the text written is bigger than the input field). Like if you press the home-button on the keyboard.
How do I do that?
try setting proerties selectionBeginIndex and selectionEndIndex to 0. but those properties are only for mx TextInput. if you're using spark components i gues it won't work but the approach should be selection related
use namespace mx_internal;
protected function t1_focusOutHandler(event:FocusEvent):void
seems to work