Get your own customer support community
 

How do I stop the application from scrolling when zooming with the mousewheel?

Hi

I am using the TweenMap in Flex and enabled zooming with the mousewheel something like this:


flexTweenMap.addEventListener(MouseEvent.MOUSE_WHEEL, (flexTweenMap.map as TweenMap).onMouseWheel);


This works fine, but unfortunately when I use the mousewheel to zoom into the map, the application will also scroll down (if the application is bigger than the screen and has scrollbars).

Is there a way I can stop the application from scrolling down aswell?

Thanks for the help
Chris
 
sad I’m confused
Inappropriate?
1 person has this question

User_default_medium