You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 21, 2022. It is now read-only.
Not working for me either:
1) Use MouseWheelTrap via MouseWheelTrap.set(stage)
2) It works in Chrome on Mac and Safari on Mac.
3) It doesn't work in Firefox on Mac (Firefox 6.0.2, OSX 10.7.2)
Doing some further testing (with custom javascript on a page with a
non-MouseWheelTrapped SWF), the listeners set up in the javascript code work
just fine when the mouse is over an HTML container, but not when it is over the
SWF.
Original comment by nathan.c...@gmail.com on 3 Jan 2012 at 11:37
adding event.stopPropagation seems to fix it:
if (event.stopPropagation) {
event.stopPropagation();
}
Of course, if someone has other javascript on the page that is trying to listen
to scroll events, doing this could screw with those listeners, but it seems
unlikely that someone would be depending on bubbling scroll events at the same
time that they're preventing page scrolling over a SWF.
Original comment by nathan.c...@gmail.com on 3 Jan 2012 at 11:47
Original issue reported on code.google.com by
anso...@gmail.com
on 21 Jun 2011 at 2:00The text was updated successfully, but these errors were encountered: