I'm new to this community, and this is my first post. I have been a long-time Actionscript developer who recently started developing for mobile devices.
I'm developing a multi-purpose calculator that requires numeric-only input in certain textboxes, and want to invoke a numeric keypad when they are in focus.
Is there a way to achieve this on iOS?
(I'm compiling using the latest AIR 3.0 SDK.)
You can do this with StageText objects, which are a new kind of text field in AIR 3. See http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/fla sh/text/StageText.htmlhttp://
Seems like I've found an answer just after posting this thread.
flash.text.StageText seems to be a handy class, and it seems like the only possible way to move forward.
Create a dynamic textfield, and on click, invoke create a StageText instance at the same location as the textfield (by setting the StageText.viewPort property)
Finally, set StageText.softKeyboardType to "numeric" and call StageText.assignFocus();
Europe, Middle East and Africa