Hi Flep,
I have an issue with the stage.focus !
Actually, I am developing a site with flex 3 and java ROs. And I have login page, when the page loads Iam trying to set the focus to the username textfield.
txtUserName.setFocus();
but this does not put the cursor in the
txtUserName.
I read in some forums to use stage.focus = txtUserName.
and it does not work ! can you please help
Thanks
-Venky
Quote:
Originally Posted by Flep
Set focus to TextField
Let's say we have 2 TextFields: one_txt and two_txt.
If you want to give focus at one_txt:
Code:
stage.focus=one_txt;
|