2

stage.focus = textField;

textField.setSelection(0,0);

is not working for me.

jash
  • 86
  • 1
  • 6

2 Answers2

1

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

mghWeb
  • 11
  • 1
0

Is "textField" the child of a library movieclip? If so, you have to access it through the parent.

stage.focus = someMovieStageName.textField
curro
  • 167
  • 1
  • 2
  • 11