闪存API用于Android平台 [英] Flash APIs for Android Platform

查看:128
本文介绍了闪存API用于Android平台的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的使用率是非常有限的。我需要做的是从我的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:

<一个href="http://help.adobe.com/en_US/FlashPlatform/beta/reference/actionscript/3/flash/display/InteractiveObject.html#requestSoftKeyboard" rel="nofollow">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

这篇关于闪存API用于Android平台的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆