suppose a small app which connects to server and displays some data. The problem is that when MOUSE_WHEEL is thrown the page is scrolling. How is it possible to disable page scrolling on MOUSE_WHEEL from flash? Please do not advice solution on JS side, users place our ccin their blogs/cites so we cannot force them to add any JS.
Thank you in advance!
It’s not possible to block it with pure AS3. Your only option is to inject JS into the document via
ExternalInterface. This won’t require your users to add anything to their page beyond the SWF embed code; it just requires your embed code to includeallowScriptAccessassameDomainorall. Here’s an example utility that enables this:http://www.spikything.com/blog/index.php/2009/11/27/stop-simultaneous-flash-browser-scrolling/