Yeah, the UITextField instances are created by clicking on the stage. Thanks, Brandon
----- Original Message ---- From: Alex Harui <[EMAIL PROTECTED]> To: "[email protected]" <[email protected]> Sent: Friday, September 19, 2008 1:23:40 AM Subject: RE: [flexcoders] Placing cursor inside UITextField Don’t forget that the browser doesn’t give focus to Flash until you click on the app. From:[EMAIL PROTECTED] ups.com [mailto:flexcoders@ yahoogroups. com] On Behalf Of Brandon Krakowsky Sent: Thursday, September 18, 2008 6:52 PM To: [EMAIL PROTECTED] ups.com Subject: Re: [flexcoders] Placing cursor inside UITextField George, thanks, I'll have to test that. The parent component is certainly initialized. The UITextFields are triggered by user interaction. You mean I have to test to see if the UITextField itself has initialized? Thanks, Brandon ----- Original Message ---- From: George <[EMAIL PROTECTED] com> To: [EMAIL PROTECTED] ups.com Sent: Thursday, September 18, 2008 6:44:49 PM Subject: Re: [flexcoders] Placing cursor inside UITextField Usually I will begin to run set focus after component already initialized. If you try to get focus before that time, wouldn't work for sure. George Brandon Krakowsky wrote: > I'm creating some Input UITextField instances dynamically, and then > trying to place the cursor inside. Can't seem to get it working. > > var textField:UITextFie ld = new UITextField( ); > textField.type = "input"; > textField.autoSize = TextFieldAutoSize. LEFT; > textField.multiline = true; > textField.wordWrap = false; > textField.border = false; > > stage.focus = textField; > > It seems to get the focus, but doesn't put the cursor inside. Can't > just start typing. Also, textField.setFocus( ) doesn't work. > > Thanks, > Brandon

