首页 > 设计 > 详细

FLASH CTRL+C SHORTCUT IN IE 快捷键在IE中失效

时间:2016-02-08 04:36:30      阅读:172      评论:0      收藏:0      [点我收藏+]

How to catch ctrl shortcuts in Flash, such as Ctrl+C, Ctrl+V or Ctrl+X? It’s easy. But it fired in IE.

Many developers have got the problem.

用Flash模拟一些快捷键个似乎是个简单的问题,比如Ctrl+C, Ctrl+V 或 Ctrl+X,用常规的方法,一碰到IE,便失效了。很多兄弟都在叫苦哪。

http://bugs.adobe.com/jira/browse/FP-1838

It’s a horrible bug. I’ve no idea about it until adobe fix it…

Well! Let’s get another way. Use JS! View this page.

http://flexbaba.com/swf/CtrlShortcuts/

这是一个BUG,我们不知道Adobe什么时候能解决,其实我们还可以结合JS来做到。

你看看这个例子,先想想我是如何做到的。

技术分享

技术分享

In Chrome and Opera, It dose not work. If you know how to fix it, please tell me. If you use other browsers except IE, I suggest you to detect shortcuts in Flash only.但在Chrome和Opera中,我的实验遇到挫折,只能通过常规的方式来截获快捷键,这也凑合。如果你知道这是为什么,请告诉我。

技术分享

技术分享

Code here: CtrlTest.rar

FLASH CTRL+C SHORTCUT IN IE 快捷键在IE中失效

原文:http://www.jb51.net/flash/skill/18178.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!