Flex 4.6 AIR 3.2 TextInput artifacts

我怕爱的太早我们不能终老 提交于 2020-01-15 12:37:05

问题


I'm testing simple TextInput functionality in flex 4.6 + air 3.2 mobile application and observing strange artifacts when soft keyboard resizes the view. Here is appearance: before soft keyboard is popped out and after. As you can see Flex has resized the view so that soft kb would with with the TextInput visible. But this is causing erasures artifacts in all TextInputs! Is this a bug? Where in Flex or AIR? Any suggestions how to fix this? Thanks!


回答1:


By default, Flex 4.6 uses StageText in it's mobile TextInput skins. StageText does not render correctly when scrolled.

Use the Flex 4.5 mobile TextInput skin:

<s:TextInput skinClass="spark.skins.mobile.TextInputSkin"/>



回答2:


Upgrading to 3.3 should resolve this issue

http://blogs.adobe.com/flashplayer/2012/06/introducing-air-3-3-and-flash-player-11-3.html




回答3:


We might have a solution to this: http://blog.flexicious.com/post/Scrolling-Issues-With-TextInput-for-Flex-Air-Mobile-Native-StageText.aspx It works for our scenarios, and should for most others.



来源:https://stackoverflow.com/questions/10958027/flex-4-6-air-3-2-textinput-artifacts

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!