Reputation: 86
stage.focus = textField;
textField.setSelection(0,0);
is not working for me.
Upvotes: 2
Views: 3882
Reputation: 11
If the caret is not showing in your text field after using stage.focus = textField;
Simply try publishing your movie instead of testing it with the CTRL+Enter command.
It didn't work for me until I published it.
-Cheers
Upvotes: 1
Reputation: 167
Is "textField" the child of a library movieclip? If so, you have to access it through the parent.
stage.focus = someMovieStageName.textField
Upvotes: 0