Re: [Flashcoders] TextField - how to put caret into textfield?

2005-10-21 Thread Peter O'Brien
Selection.setFocus('my_tf'); should be Selection.setFocus(my_tf); On 21 Oct 2005, at 13:38, Oleg Filipchuk wrote: Hi list. maybe this is trivial question but I didn't google the way to do it. I need to create TextField and put the blinking caret into TextField without user clicking on T

[Flashcoders] TextField - how to put caret into textfield?

2005-10-21 Thread Oleg Filipchuk
Hi list. maybe this is trivial question but I didn't google the way to do it. I need to create TextField and put the blinking caret into TextField without user clicking on TextField. var my_tf:TextField = this.createTextField ( '_tf', 0, 0, 0, 100, 20); my_tf.border = true; my_tf.type = 'input'; S