Flash APIs for Android Platform

可紊 提交于 2019-12-18 09:20:46

问题


My usage is very limited. All i need to do is to invoke the soft keyboard from within my flash application. Is there anything I can do, without using a textfield or any such editable controls, which will pop up the keyboard.

Thanks


回答1:


So basically you need to have some sort of object that is interactive (that is, a textfield or something similar) to call up the on screen keyboard. This is probably because flash needs to set the focus for typing to that object. The object needs to be of type or of base type (somewhere in inheritance) InteractiveObject. You used the requestSoftKeyboard() method. Check it out:

http://help.adobe.com/en_US/FlashPlatform/beta/reference/actionscript/3/flash/display/InteractiveObject.html#requestSoftKeyboard()

http://blogs.adobe.com/cantrell/archives/2011/03/everything-new-in-adobe-air-2-6.html



来源:https://stackoverflow.com/questions/5868058/flash-apis-for-android-platform

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