I just realized that the player takes care of mousewheel over textfields
and not the Flex framework which is why event blocking isn't going to
work.
 
You can subclass TextArea, get to the underlying textField and set
mouseWheelEnabled=false.
 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Jayson
Sent: Thursday, September 06, 2007 11:33 AM
To: [email protected]
Subject: [flexcoders] Re: Disable scrolling via mouse wheel



Just tried those out.. still no luck.. I'm beginning to think this 
isn't going to work.

I didn't know about the useCapture and priority for event listeners.. 
thought that was going to work.

I don't really want to have to cut the string so it doesn't extend out 
of the TextArea because I use it other places, that seems like it would 
be a pain in the ass.

Do you think this might be an issue of timing? like the eventListener 
isn't being added in time?

I've tried calling it in creationComplete(for the TextArea and app), 
scroll, and mouseWheel.



 

Reply via email to