1 Reply Latest reply on Oct 5, 2007 10:17 AM by Vegasthornton

    Set focus on a TextInput at application initialization

    FlexIsGood4U
      Hi All,

      I have tried something like that to set the focus on my TextInput:

      public function initApplication():void
      {
      txt_username.focusEnabled = true;
      txt_username.setFocus();
      }

      But :
      - I see a halo only (there is no cursor)
      - I cannot type text without clicking with my mouse

      Sure it's a simple question... Thanks a lot !