The delta property MouseEvent.MOUSE_WHEEL determines how many lines will be scrolled using the scroll wheel. You can try changing it in the MOUSE_WHEEL handler (during the capture phase). For example, the following code will scroll line by line:
protected function init(event:FlexEvent):void { list.addEventListener(MouseEvent.MOUSE_WHEEL, list_mouseWheelHandler, true); } protected function list_mouseWheelHandler(event:MouseEvent):void { event.delta = event.delta > 0 ? 1 : -1; }
code>
Maria Sakharova
source share