ActionScript - 访问文本字段上下文菜单事件?
TextField 对象有一个内置的上下文菜单,其中包含针对剪切、复制、粘贴、删除和选择所有事件的项目。
我想将键盘按键和修饰符映射到这些事件以获得它们的免费功能。
这可能吗?
TextField objects have a built in context menu containing items which target cut, copy, paste, delete and select all events.
i would like to map keyboard keys and modifiers to these events to obtain their free functionality.
is that possible?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
来自文档(InteractiveObject 类):
在 AIR 中,完成此操作非常简单,因为它们是 NativeApplication 类的内置公共方法。
from the documentation (InteractiveObject Class):
in AIR, it's mind-numbingly simple to accomplish this, as they are built-in public methods of the NativeApplication class.