PDA

View Full Version : removing mousewheel scroll from list


zappBrannigan
04-04-2008, 09:27 PM
As the title says, ive got a list component with my custom scrolling events, therefore i want to remove the standard scrolling that occurs when the mousewheel is rolled. The list does not have the mouseWheelEnabled as the textarea component so thats a dead end. I also tried to set mouseChildren = false of the containing movieclip when my scroll event fires, but that wouldnt work either :confused:

Any idea on perhaps disabling the event? The documentation (http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/fl/controls/List.html) says that the list inherits a mouseWheel event from the InteractiveObject. But im not sure how to handle that piece of information. Any help would be greatly appreciated! :)