|
|
|
silver007-001  |
Beginner | Member since: 06.08.2012, 13:15 | Posts: 3 |
Likes: 0 |
| |
|
Post Topic: UI Input doesn't work with Text Fields Posted 06.08.2012, 13:25 |
Hello!
I am creating a simple Flash menu with input text fields. I set all input parameters in UI node "UI:Display:Config", but still my text field input only catches Enter, backspace, del, tab, but not letter or number keys. I've tried everything, even made a key listener, and it proved me that Scaleform inside engine somehow doesn't let me catch an input.
Somehow, inside a main menu, when connecting to server, text fields are working properly.
P.S. Outside the engine, in flash player, everything works fine.
|
|
|
|
|
|
|
|
silver007-001  |
Beginner | Member since: 06.08.2012, 13:15 | Posts: 3 |
Likes: 0 |
| |
|
Post Topic: Re: UI Input doesn't work with Text Fields Posted 06.08.2012, 18:31 |
|
|
|
|
|
|
|
|
 |
Lavizh  |
Media Support | Member since: 04.12.2007, 03:23 | Posts: 6845 | Location: Norway |
Likes: 28 |
| |
|
Post Topic: Re: UI Input doesn't work with Text Fields Posted 06.08.2012, 19:09 |
Please allow 24 hours before bumping your own thread.
|
|
|
|
|
|
|
 |
DURLI  |
Experienced Modder | Member since: 21.10.2009, 19:52 | Posts: 532 | Location: Slovakia, EU |
Likes: 1 |
| |
|
Post Topic: Re: UI Input doesn't work with Text Fields Posted 11.08.2012, 00:35 |
Did you allowed a keyevents in uielement? Also did u embedded a font in your text input field?
C++ || C# || 3D Artist || 2D Artist || UI Artist || Animator
|
|
|
|
|
|
|
Cry-Paul  |
Crytek Staff Member | Member since: 04.11.2010, 11:34 | Posts: 8 |
Likes: 2 |
| |
|
Post Topic: Re: UI Input doesn't work with Text Fields Posted 17.09.2012, 12:10 |
There is some additional thing you have to do in actionscript: on textfiled selection you have to explicit call in your AS:
Selection.setFocus(_root.path.to.your.textfiledMC);
e.g. in your onRollOver function
Cheers
|
|
|
|
|
|
|
 |
Graph  |
News Posters | Member since: 23.03.2007, 14:08 | Posts: 2963 | Location: this[0] |
Likes: 3 |
| |
|
Post Topic: Re: UI Input doesn't work with Text Fields Posted 17.09.2012, 13:49 |
 thx
|
|
|
|
|
|
|
 |
jlea  |
Trainee | Member since: 20.08.2011, 05:40 | Posts: 166 |
Likes: 0 |
| |
|
Post Topic: Re: UI Input doesn't work with Text Fields Posted 18.09.2012, 05:36 |
Quote by Cry-Paul: There is some additional thing you have to do in actionscript: on textfiled selection you have to explicit call in your AS:
Selection.setFocus(_root.path.to.your.textfiledMC);
e.g. in your onRollOver function
Cheers I have a flowgraph that calls a function in AS, which makes my text input visible and sets focus to the text field. Everything else in the function works but the snippet above does not. I still have to manually click my text input field to get it to start retrieving input. Any ideas? Do i set focus to the movieclip holding my textinput, or to the textinput itself.
|
|
|
|
|
|
|
 |
Lavizh  |
Media Support | Member since: 04.12.2007, 03:23 | Posts: 6845 | Location: Norway |
Likes: 28 |
| |
|
Post Topic: Re: UI Input doesn't work with Text Fields Posted 18.09.2012, 18:17 |
Use the textfield Movie Clip as described in Paul's post.
|
|
|
|
|
|
|
Floady  |
Beginner | Member since: 12.01.2012, 22:15 | Posts: 17 |
Likes: 0 |
| |
|
Post Topic: Re: UI Input doesn't work with Text Fields Posted 19.09.2012, 16:05 |
Also make sure you check in Launcher and Editor, ive seen it before that text doesnt show up in the editor but it does in the launcher.
|
|
|
|
|