Try this and see... focusManager.setFocus(textInputId); textInputId.setSelection(0,0);
Or textInputId.setFocus(); textInputId.setSelection(0,0); ________________________________ From: Anjum Shahzad <[email protected]> To: [email protected] Sent: Wednesday, April 29, 2009 11:06:59 PM Subject: Re: [flexcomponents] TextInput focus problem Hi, thanks for reply.setFocus( ) method just highlight the textInput but cursor does not blink.user is unable to enable text.the scanrio is,when application load a first login screen,i want to set focus on username textfield by default.is there any other solution plz help me. ----- Original Message ----- From: Jeffry Houser To: flexcomponents@ yahoogroups. com Sent: Wednesday, April 29, 2009 7:08 PM Subject: Re: [flexcomponents] TextInput focus problem listen to the creationComplete event, and in the handler do myTextInput. setFocus( ); Anjum Shahzad wrote: Hi, I have a problem with TextInput.How to focus on the TextInput with cursor blinking when the application loads. plz help me. -- Jeffry Houser, Technical Entrepreneur Adobe Community Expert: http://tinyurl. com/684b5h http://www.twitter. com/reboog711 | Phone: 203-379-0773 -- Easy to use Interface Components for Flex Developers http://www.flextras .com?c=104 -- http://www.theflexs how.com http://www.jeffryho user.com -- Part of the DotComIt Brain Trust
