Use NativeText, look here for the great article: http://blogs.adobe.com/cantrell/archives/2011/09/native-text-input-with-stagetext.html
IN FLASH AS3 MOBILE APP - how to make soft keyboard show only numbers or for email?
-
21-09-2022 - |
문제
I am making a mobile app with adobe air 3.9 and in the registration form, I wish to make email text-field have a keyboard or soft-keyboard type as email (i.e. having a button for ".com" and "@" in the soft-keyboard)and age to have numbers only.
I see some helps around but none gets me a clear idea.
Can anyone help me with a quick tutorial or a code snippet.
Thanks Saurabh
해결책
다른 팁
Just be aware there are two SkinClasses
for TextInput
and TextArea
, MobileSkin
and StageSkin
. StageSkin
can control the softkeyboard, but has scaling issues. MobileSkin
can't control the softkeyborad, but doesn't have scaling issues. Follow this bug and related issues for more info about that.
제휴하지 않습니다 StackOverflow