[flexcoders] Re: TextArea text "change" event doesn't work in all cases

2010-02-19 Thread valdhor
That didn't seem right so I just tried this. If I right click and then
either select Cut, Paste or Delete a change event fires.

This is my test app:

http://www.adobe.com/2006/mxml";
layout="absolute">
 
 
 
 


--- In flexcoders@yahoogroups.com, "s_grollins"  wrote:
>
> Hello everyone,
>
> I've recently come across a problem wherein we have a textarea with a
listener listening for Event.CHANGE events - the problem with this is
that an event isn't dispatched when a user selects text in the textarea
using their mouse, and then right-clicks and deletes text using the
menu. I've tried attaching MouseEvent listeners but have had no luck -
does anyone have any suggestions? Am I overlooking something?
>



[flexcoders] Re: TextArea text "change" event doesn't work in all cases

2010-02-19 Thread s_grollins
We're using Flex SDK 3.2 - these event types aren't present. I also tried:

textArea.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, handler, false, 0, 
true);

This did not work either.

--- In flexcoders@yahoogroups.com, "seanmcmonahan"  wrote:
>
> Maybe Event.CUT or Event.CLEAR?
> 
> --- In flexcoders@yahoogroups.com, "s_grollins"  wrote:
> >
> > Hello everyone,
> > 
> > I've recently come across a problem wherein we have a textarea with a 
> > listener listening for Event.CHANGE events - the problem with this is that 
> > an event isn't dispatched when a user selects text in the textarea using 
> > their mouse, and then right-clicks and deletes text using the menu. I've 
> > tried attaching MouseEvent listeners but have had no luck - does anyone 
> > have any suggestions? Am I overlooking something?
> >
>




[flexcoders] Re: TextArea text "change" event doesn't work in all cases

2010-02-18 Thread seanmcmonahan
Maybe Event.CUT or Event.CLEAR?

--- In flexcoders@yahoogroups.com, "s_grollins"  wrote:
>
> Hello everyone,
> 
> I've recently come across a problem wherein we have a textarea with a 
> listener listening for Event.CHANGE events - the problem with this is that an 
> event isn't dispatched when a user selects text in the textarea using their 
> mouse, and then right-clicks and deletes text using the menu. I've tried 
> attaching MouseEvent listeners but have had no luck - does anyone have any 
> suggestions? Am I overlooking something?
>