You actually have to set focus in two places, inside the SWF as you're
doing, but also in the HTML page that displays the SWF.  I've used <body
to set focus on the SWF in IE. 
There's probably something better (or more generic) that works in more
browsers, not sure.

Darren


>From: "d93574" <[EMAIL PROTECTED]>
>Reply-To: [email protected]
>To: [email protected]
>Subject: [flexcoders] Setting the insertion point (caret) in a text input
>field
>Date: Wed, 10 May 2006 20:51:01 -0000
>
>When my application starts I want the user to be able to begin
>typing without having to use the mouse.
>
>When I call "controlName".setFocus the focus is set to the correct
>control, but the mouse caret is not set until I click somewhere in
>flex application.  It seems the focus is still set on the browser.
>
>Any clues as to get around this?
>
>Thanks
>
>Jim Kohn
>
>
>
>
>
>
>--
>Flexcoders Mailing List
>FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
>Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
>Yahoo! Groups Links
>
>
>
>
>
>
>






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to