i use flash builder 4.6 and create a simple flex mobile project that contains two views.
there are some TextInput control in every view.
when i load the app on the devices(moto xt800+, and an android pad), in the first view,
textinput's text is visible and nomal.
when i push the second view, the textinput's text is not visible. and i tap some textinput,
make one of them got focus, all texts of the textinput now are visible.
so, is there some wrong? or should i set some properties?
Same problem here. I think it has to do with the skin update for text controls in Flex 4.6, but I haven't had a chance to investigate it yet...
Maybe try looking to see what the default TextInput skin was in 4.5 and using that instead? That's on my list of things to do on Monday, so let me know how it goes if you have a chance to try it.
thank you, today i flow your way, i think i have solved the problem:
1) create a skin, copy sdks\4.6.0\frameworks\projects\spark\src\spark\skins\spark\TextInputS kin.mxml 's content.
change line 251 from "includeIn="normalWithPrompt,disabledWithPrompt"
2)create a skin as class, copy sdks\4.6.0\frameworks\projects\mobiletheme\src\spark\skins\mobile\Tex tInputSkin.as 's content
use one of skins above, it works on my devices.
I had the same issue and I resolved it applying mobile.TextInputSkin from Spark to every TextInput. Hope it can help 'cause thanks to it, I keep the good looking of the component. Just one problem, the keyboard remain on the screen if you don't close it manually on some devices as Acer tablet.
I created a skin with TextInputSkin.mxml 's content but my controls don't have style and if I rotate my device 90º (horizontal) the TextInput Controls don't change the view, a view with more space. Doesn't have adobe a solution for this????
This works but then StageTextInputSkin features such as SoftKeyboardType are not supported anymore. This is definitely an Adobe Bug. It would really be helpful if Adobe addressed this ASAP, because StageTextInputSkin is used as the default skin for TextInputs in Mobile projects! By changing to TextInputSkin not only lose the features specifically made for mobile applications, but also decrease the performance, since StageTextInputSkin is based on AS3, while TextInputSkin is based on MXML!
Europe, Middle East and Africa