Copy link to clipboard
Copied
Hello. In my project, the textfield is not visible by the user, the fact is that i have a textfield input and a textfield dynamic. When you type in the first textfield input , the text is duplicate in the second textfield dynamic. I would like, that when i launch my SWF (or EXE), i don't need to click in the textfield input to write in it. I want to launch the swf and i use directly my keyboard.
I don't find how to give the focus to the textfield input, at the start... every time, we need to click in the textfield, and after, we can write in it...
Is there a solution, please?
focus:
stage.focus = textFieldName;
unfocus:
stage.focus = null;
Copy link to clipboard
Copied
focus:
stage.focus = textFieldName;
unfocus:
stage.focus = null;
Copy link to clipboard
Copied
It works nezarov, thanks !!
Copy link to clipboard
Copied
You're welcome my friend.