Tag: FOCUS_OUT
Input TextFields – auto select all text
Sometimes you want to have all the text in an input field selected when the user clicks on the field – this makes it easier to enter data quickly on certain forms, particularly if the fields are pre-filled.
But it’s not so easy to do without breaking the standard functionality of the input field. This code [...]
Posted: 01:01 AM under Flash Tips & Notes.
Tags: FocusEvent, FOCUS_IN, FOCUS_OUT, highlight, Input, KEY_FOCUS_CHANGE, selectionBeginIndex, selectionEndIndex, setSelection, TextField
Comments: 1