MouseWheel not working when published movie has wm

2019-03-28 03:03发布

问题:

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.