how could I disable the Mousewheel for a Scroller?
I have set up a Group which content I animate with a VScrollbar.
Since its not connected to the Groups Viewport, the Main Scroller of the Application received the Mousewheel as well.
I tried setting mouseFocusEnabled="false" or even mouseEnabled="false" but that does not have any effect?
So how can I disable the mousewheel for a scroller ?
The following properties of a Scroller or VScrollbar have no effect?
What am I missing ?
And the Answer is:
private function mouseWheelChangingHandler(event:FlexMouseEvent):void
// don't scroll by preventing default
<s:Scroller id='main_scroller' mouseWheelChanging="mouseWheelChangingHandler(event)" .....
preventing the default action makes more sense for the VScollbar itself inside the Scroller Skin