Hi folks,
I have a flex application that uses TextField and I want like to know how to clear the selection on selected text .
I’ve used setSelection(0,0) but that just cause the next highlight to begin from index 0. Is there a way to clear it out so that the user can select/highlight words from anywhere from the textfield instead of having setSelection anchor index to be at 0 ?
this.thisTextField.addEventListener(MouseEvent.MOUSE_OUT,highlightMe);
tf.setSelection(0,0);