MouseWheel not working when published movie has wmode=“transparent”?

怎甘沉沦 提交于 2019-12-04 22:57:12

问题


I'm experiencing a bug with a published flash movie. When I embed the movie in an HTML page (with SWFObject 2.1), and assing it the wmode param value of 'transparent', all my functions based on the MouseWheel event stop working. The movie is based on AS2. Anyone familiar with this bug?


回答1:


There is a workaround at Adobe Developer Connection:

Workaround to support mouse wheel for FireFox with wmode




回答2:


Mousewheel doesn't work for me either in AS3 when I set wmode=transparent. Furthermore, my flash application acts really strange and crashes frequently with wmode=transparent.

Plus, it doesn't seem to work at all on firefox under linux... the flash app is always above everything.

I would not recommend using wmode=transparent unless your app is for a very specific browser and you have done extensive testing.



来源:https://stackoverflow.com/questions/313966/mousewheel-not-working-when-published-movie-has-wmode-transparent

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!