Fortunately you can disable this behavoir by extending the TextArea component and adding the following lines of code (i added a Boolean property to enable/disable this new behavior):
Another issue we encountered was that scrolling on a mac simply doesn't work at all.
override protected function createChildren():void {
super.createChildren();
if( disableInternalScrolling ) {
removeEventListener(MouseEvent.MOUSE_WHEEL, mouseWheelHandler);
textField.mouseWheelEnabled = false;
}
}
Ali Rantakari has created a good working fix for this issue using javascript to pass on the scroll properties: http://hasseg.org/blog/?p=138

1 comments:
thanks for the code example. i posted a bug on this issue on the adobe bugbase. i think it is being worked on.
btw i also ported a class for mouse wheel support for flex projects. you can read about it here http://www.judahfrangipane.com/blog/?p=237. i'm not sure how it compares to Ali's class.
Post a Comment