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

Flash动画制作
相册类
Actionscript优化教程
用as来控制图片的曝光效果
如何将角度和坐标标准化
数组排序方法介绍
setInterval全面的介绍
attachMovie 函数的使用方法教程
flash action 详解(8)
AS的基本代码解释(3)
简单的检测鼠标是否有移动的类
FSCommand 用法详解
图片放大缩小移动类
flash中数组的妙用
如何使用Flash连接资料库
关于setInterval的应用
AS的基本代码解释(4)
动感地带学习专题(3)
动感地带学习专题(4)
动感地带学习专题(1)
动感地带学习专题(5)

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


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-09-16   浏览: 143 ::
收藏到网摘: 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