01-01-2013 04:49 PM - edited 01-01-2013 04:50 PM
Hi there,
In Flash Builder 4.6 while creating a flex mobile application in landscape mode, i have a textinput that is covered by the virtual keyboard when the user taps on it, so that the user is tapping 'blindly'. Is there any way for me to get the application to shift upwards as the keyboard is active so that the user can see the keyboard, and when the keyboard is disabled, the application returns to its initial state?
please refer to diagram below
Also, selecting the type of keyboard in flex (number, email, etc.) does not appear to be working. help?
thanks.

Solved! Go to Solution.
01-01-2013 06:32 PM
check the following in app.xml:
<!-- Whether or not to pan when a soft keyboard is raised or lowered (either "pan" or "none"). Optional. Defaults "pan." --> <!-- <softKeyboardBehavior></softKeyboardBehavior> -->
On the simulator, I still cannot get the keyboard to automatically pop when the TextInput get focus...
Regards,
01-02-2013 05:01 AM
Use
<!-- Whether or not to pan when a soft keyboard is raised or lowered (either "pan" or "none"). Optional. Defaults "pan." --> <softKeyboardBehavior>pan</softKeyboardBehavior>
01-02-2013 05:26 PM
I tried softKeyboardBehavior but it returns a problem when trying to launch:
"Error occurred while packaging the application:
Packaging failed:1
...
error 103:
application.initialWindow.softKeyboardBehavior is an
unexpected element/attribute
Error: AIR validation failed"
Help???
01-02-2013 05:28 PM
Never mind. Added extra pair of tags. Thanks!