I am trying to write a small piece of Actionscript that gives focus to a TextInput. The reason being, I don’t want my user to have to click into the text field to see the cursor and start typing, it should just already be there.
I’ve looked around for tutorials and other questions here on Stackoverflow and I can’t seem to find anything.
Thank you.
All UIComponent instances in ActionScript 2 support
setFocus(). Soshould do the trick.