Textfield cursor

Hi all,

I see that text field (input type) in as3 doesn’t automatically showing cursor even though the below code is correct way to do that.


stage.focus = tf;
tf.setSelection(tf.text.length, tf.text.length);

Any suggestions? thanks in advance