How do I make flex only consume mouse scroll and keyboard events when it's useful, and otherwise pass it on to the browser?

后端 未结 3 1162
夕颜
夕颜 2021-01-21 01:12

This one\'s been irking me for a while. When I\'m using the mouse scroll wheel to scroll up and down in a webpage, and a flash movie comes into the path of the cursor, the scrol

3条回答
  •  心在旅途
    2021-01-21 01:28

    Add an event that will handle if you are inside the flash when you are inside the flash call External interface to disable scrolling and get Focus for flash.

    When you go outside the flash you still might be able to trigger the event an still call an External interface to get focus to browser and stop the flash scrolling.

提交回复
热议问题