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

Flash动画制作
Flash卡通景物绘制
鼠绘偏写实人物
鼠绘--柱顶红的画法
FLASH实现滚动条+网页书签效果
Flash MX中Button Object的用法
as入门之数学函数--弧度
as入门之数学函数--Math类
闪动的变色圆盘
组件封装为mxp文件的方法
判断数字大小
Flash 缓存问题的解决
Flash MX pro 2004 新特性之Flash Lite
在Flah MX2004的ListBox中应用HTML
Flash MX 2004中的XML应用之原理篇
Flash MX 2004视频教程超速入门系列(1)
Flash MX 2004视频教程超速入门系列(2)
Flash MX 2004视频教程超速入门系列(3)
Flash MX 2004视频教程超速入门系列(4)
Flash MX 2004视频教程超速入门系列(5)
Flash MX 2004视频教程超速入门系列(6)

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


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