适用于 Android 平台的 Flash API [英] Flash APIs for Android Platform

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

问题描述

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

谢谢

推荐答案

所以基本上你需要有某种交互式对象(即文本字段或类似的东西)来调用屏幕键盘.这可能是因为 Flash 需要将输入焦点设置为该对象.该对象需要属于 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

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

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