Question
AS2. TextField onSetFocus select all
Hi there,
Having some problems to determine that when a textfield is selected the full
content is selected.
tried:
TextField.onSetFocus = function ():Void {
Selection.setFocus (this);
Selection.setSelection (0, this.length);
}
TextField.onKillFocus = function ():Void {
Selection.setSelection ();
}
No result. Any help...
Thanks
Having some problems to determine that when a textfield is selected the full
content is selected.
tried:
TextField.onSetFocus = function ():Void {
Selection.setFocus (this);
Selection.setSelection (0, this.length);
}
TextField.onKillFocus = function ():Void {
Selection.setSelection ();
}
No result. Any help...
Thanks