闪存API用于Android平台闪存、平台、API、Android

由网友(敷衍)分享简介:我的使用率是非常有限的。我需要做的是从我的Flash应用程序调用软键盘。有什么我可以做的,不使用文本字段或任何这样的可编辑的控制,这会弹出键盘。My usage is very limited. All i need to do is to invoke the soft keyboard from within m...

我的使用率是非常有限的。我需要做的是从我的Flash应用程序调用软键盘。有什么我可以做的,不使用文本字段或任何这样的可编辑的控制,这会弹出键盘。

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.

感谢

推荐答案

所以基本上你需要有对象的某种形式是交互式的(即,一个文本框或类似的东西),调出屏幕上的键盘。这可能是因为闪光灯需要将焦点设置为输入到该对象。对象需要是基本类型(在继承的地方)的InteractiveObject的类型或。您所使用的requestSoftKeyboard()方法。检查出来:

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

阅读全文

相关推荐

最新文章