It sounds like you are not using the right swc (mobilecomponents.swc and mobile.swc theme), which are normally included when you create a new Flex Mobile project in FB 4.7 Also note that mx components are not available in Mobile.
I don't how you migrated your project to Mobile, but you can't move it to mobile like that. Better to create a new Flex Mobile Project and paste your code to the mobile project. You will probably have to "rethink" the general app UI design app layout. Good luck Maurice -----Message d'origine----- De : MVBaker [mailto:[email protected]] Envoyé : mercredi 9 octobre 2013 18:10 À : [email protected] Objet : soft keyboard won't show I have a mature application in both web and AIR versions that I'm trying to migrate to mobile for iOS. I created a new Flex Mobile project, I have an <s:Application> with the following <mx:TitleWindow...> <s:VGroup...> <mx:Text.../> <s:TextInput.../> <mx:Button .../> </s:VGroup> </mx:TitleWindow> I've been reading about how to display the keyboard, I've made the TextInput editable="true", needsSoftKeyboard="true", and just about every other recommendation but I have not been able to make the soft keyboard appear. One thing I have not been able to do is set the skinClass to StageTextInputSkin or TextInputSkin, I get a compiler error that these definitions cannot be found. As I mentioned it's a mature app, having been through many hands. There's a lot of code in the file, there are a few other canvas items and other titlewindows in the same page. It uses two library projects that are shared with the AIR and Web versions. Pretty much everything else is working out but this keyboard thing is being stubborn. Is the skin component a necessary thing to use the keyboard? I'm including the Apache Flex 4.10 framework and as I type the import statement the skin classes appear in the dropdown (Flash Builder 4.7) i.e. 'spark.skins.mobile.TextInputSkin' so why can't it be found by the compiler? What SWC do I need for the skin classes? Are there a bunch of hidden gotcha's here? TIA Mike -- View this message in context: http://apache-flex-users.2333346.n4.nabble.com/soft-keyboard-won-t-show-tp3073.html Sent from the Apache Flex Users mailing list archive at Nabble.com.
