开发者

Flash APIs for Android Platform

开发者 https://www.devze.com 2023-03-02 02:44 出处:网络
My usage is very limited. 开发者_如何学GoAll 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 co

My usage is very limited. 开发者_如何学GoAll 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


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

0

精彩评论

暂无评论...
验证码 换一张
取 消