Hi Yogesh

You don't need to use binding syntax in an event listener, as their
expected type is Function().  In property getters & setters it's a
little different.

Using the binding syntax still works though, but it's not required.

Cheers

Marty

--- In [email protected], "YOGESH JADHAV" <[EMAIL PROTECTED]> wrote:
>
> Haven't tested the code but i think it should be <mx:TextArea
> textInput="{trace('textInput fired');}" />
> 
> On Thu, Feb 14, 2008 at 4:31 PM, marty.pitt <[EMAIL PROTECTED]> wrote:
> 
> >   Hi
> >
> > Can someone please verify my understanding of this correctly.
> >
> > I believe that the event is not firing on the deletion of text, as the
> > docs suggest it will.
> >
> > According to the docs this event is supposed to fire:
> > "when the user types, deletes, or pastes text into the control. "
> >
> > But, running the following simple chunk'o'code, and deleting text,
> > shows the event doesn't fire on either backspace or delete:
> >
> > <?xml version="1.0" encoding="utf-8"?>
> > <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml";
> > layout="absolute">
> > <mx:TextArea textInput="trace('textInput fired')" />
> > </mx:Application>
> >
> > I had a look at the code, and TextArea is simply rebroadcasting the
> > event from textField, which we can't see as it's source is not
available.
> >
> > If someone can confirm that this is a bug, I'll post it in the bug
> > forums. (I don't suppose that it'll be fixed before release now
though?)
> >
> > Cheers
> >
> > Marty
> >
> >  
> >
> 
> 
> 
> -- 
> 
> 
> Regards,
> Yogesh
>


Reply via email to