So simple - thanks.

L.


--- In [email protected], Peeyush Tuli <peeyus...@...> wrote:
>
> myTextInput.addEventListener(
> flash.events.Event.CHANGE<file:///C:/Documents%20and%20Settings/peeyushtuli/My%20Documents/flex3_documentation/langref/flash/events/Event.html#CHANGE>,myChangeHandler);
> 
> 
> On Thu, Feb 25, 2010 at 4:44 AM, Laurence <lmacne...@...> wrote:
> 
> >
> >
> > Suppose I have the following code:
> > var myTextInput:TextInput = new TextInput();
> > this.addChild(myTextInput);
> >
> > How do I access the 'change' property of that TextInput? If I try:
> > myTextInput.change="myChangeHandler()"
> > it gives me a error:
> > "Access of possibly undefined property change through a reference with
> > static type mx.controls:TextInput."
> >
> > So, how do I tell that dynamically-created TextInput what to do when its
> > value is changed?
> >
> > Thanks,
> > Laurence MacNeill
> > Mableton, Georgia, USA
> >
> >  
> >
>


Reply via email to