当前位置: 首页 > 图文教程 > Flash动画 > Flash动画制作 > FLASH CTRL+C SHORTCUT IN IE 快捷键在IE中失效

Flash动画制作
fmx2004 1000问(5)
Flash MX 2004 组件事件简单调试器
fmx2004 1000问(2)
Action Script 2.0新手调试
Flash 2004 MX Components
flash action 详解(9)
flash action 详解(7)
flash action 详解(1)
flash action 详解(6)
一个用纯AS写的正态曲线画法
flash action 详解(3)
浅谈AS的绘图功能及几个简单的实例
AS的基本代码解释(2)
flash action 详解(2)
flash action 详解(10)
运用for循环来对多个mc进行检测
极坐标在绘画方法中的运用
用Flash 2004编写简单的运算类
flash action 详解(4)
flash action 详解(5)

Flash动画制作 中的 FLASH CTRL+C SHORTCUT IN IE 快捷键在IE中失效


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-09-16   浏览: 149 ::
收藏到网摘: n/a

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