Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
stage.focus = textField;
textField.setSelection(0,0);
不适合我。
如果使用 stage.focus = textField; 后插入符号未显示在您的文本字段中
只需尝试发布您的电影,而不是使用 CTRL+Enter 命令对其进行测试。
在我发表之前,它对我不起作用。
-干杯
“textField”是库影片剪辑的子项吗?如果是这样,您必须通过父级访问它。
stage.focus = someMovieStageName.textField