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

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来做到。

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

image

image

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中,我的实验遇到挫折,只能通过常规的方式来截获快捷键,这也凑合。如果你知道这是为什么,请告诉我。

image

image

Code here: CtrlTest.rar