The problem is that the Flash Player itself does not have the focus.
There is javascript that will do this in IE, but is not reliable in other browsers Tracy Spratt, Lariat Services, development services available _____ From: [email protected] [mailto:[email protected]] On Behalf Of koti reddy Sent: Friday, May 01, 2009 11:51 AM To: [email protected] Subject: Re: [flexcomponents] TextInput focus problem 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 <mailto:[email protected]> To: flexcomponents@ yahoogroups. <mailto:[email protected]> 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://tinyurl.com/684b5h> http://www.twitter. com/reboog711 <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.flextras.com?c=104> -- http://www.theflexs how.com <http://www.theflexshow.com> http://www.jeffryho user.com <http://www.jeffryhouser.com> -- Part of the DotComIt Brain Trust
