03-05-2011 09:32 AM
I hope that someone can help me with the following problem. When I want to assign a keyboard type to a text field, it gives me this error.
<location>App.as, Line 14 1119: Access of possibly undefined property keyboardType through a reference with static type fl.controls:TextInput. <location>App.as, Line 14 1119: Access of possibly undefined property keyboardType through a reference with static type fl.controls:TextInput
This is my line 14:
TextField2.keyboardType = KeyboardType.PIN;
I created the text field within Adobe Flash Professional CS5.
I would be really pleased if someone could explain how to fix this, and also maybe to post a fix.
Thanks in advance,
03-05-2011 09:45 AM
03-05-2011 09:48 AM - edited 03-05-2011 09:51 AM
Could you show me the lines where you test this, and how to use it as a QNX thingy.
I would really appriciate that.
03-05-2011 10:17 AM
03-05-2011 10:28 AM
03-05-2011 11:19 AM
This is all I am importing
import flash.display.Sprite; import flash.events.MouseEvent; import qnx.ui.text.KeyboardType; import qnx.ui.text.TextInput;
03-05-2011 12:37 PM