8 Replies Latest reply on Dec 2, 2007 9:22 AM by kglad

    AS2. TextField onSetFocus select all

    Level 7
      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