Skip to main content
Participant
January 14, 2012
Question

Buggy mouse wheel scrolling

  • January 14, 2012
  • 1 reply
  • 1766 views

When I scroll TLF with mouse wheel, also whole browser page scrolls. This is nothing new, I think we all know about this AS3 inconvenience (mouse wheel is working fine in AS2).

But recently I discovered that mx.components.TextArea implements mouse wheel nicely, that is, if TextArea can be scrolled in delta direction, it is, and page scrolling gets blocked.

So how is it with this scrolling issue? Can You block wheel scrolling outside flash somehow? Or is it internal flash feature, that only textArea can use? I think no one can answer this better then Adobe team.

If unfortunately I guessed right about the internal thing, maybe there's a way for unelegant hack to use TextArea to capture mousewheel but not anything else?

Thank You in advance!

This topic has been closed for replies.

1 reply

BrodzioAuthor
Participant
January 14, 2012

For everyone in same situation as me, here's an easy workaround:

http://gamedev.rasmuswriedtlarsen.com/2010/01/18/quicktip-scrolling-only-in-swf-not-on-page/

But I leave my question unanswered.