So, I've got it working by listening to both MOUSE_LEAVE and MOUSE_UP.

If the mouse up occurs off the stage, then you get a MOUSE_LEAVE event.
If the mouse up occurs on the stage, then you get a MOUSE_UP event.

So, if you leave the stage and then come back on the stage to do the mouse
up, then you get a MOUSE_UP event instead of a MOUSE_LEAVE event

So this is fine and works, however, I can't help but feel that listening to
the selection parameters is the proper way to do it.

Am I wrong in using the BindingUtils.bindSetter method on properties like
"selectionBeginIndex" etc? Any ideas why this doesnt work?


Alex Harui wrote:
> 
> MOUSE_LEAVE is when the mouse is up after being dragged off the stage
> 

-- 
View this message in context: 
http://www.nabble.com/Synchronised-TextArea-selection-tp7645900p16627536.html
Sent from the FlexCoders mailing list archive at Nabble.com.

Reply via email to