Thanks tracy.
it does not work for other than IE.

  ----- Original Message ----- 
  From: Tracy Spratt 
  To: [email protected] 
  Sent: Friday, May 01, 2009 10:39 PM
  Subject: RE: [flexcomponents] TextInput focus problem






  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 

    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/684b5hhttp://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.comhttp://www.jeffryho 
user.com--Part of the DotComIt Brain Trust





  

Reply via email to