mouse wheel operates on scrollbar
Posted
by basicblock
on Stack Overflow
See other posts from Stack Overflow
or by basicblock
Published on 2010-04-03T05:13:04Z
Indexed on
2010/04/03
6:53 UTC
Read the original article
Hit count: 254
If a SWF file or even a component within it has scrollbars, wouldn't it make sense that if the user is hovered over that area (it's in focus) and uses the mouse wheel, that this movement would automatically translate to the scrollbar moving.
Any ideas how this is done, the events or classes used for this? I'm open to outside components or classes too. I haven't started yet, but I'll do an item renderer because it's easy to give it scrollbar.
© Stack Overflow or respective owner