RE: [flexcoders] Events and Components

2005-04-04 Thread Matt Chotin
framework and the iteration::two book.   Matt   From: Manish Jethani [mailto:[EMAIL PROTECTED] Sent: Monday, April 04, 2005 12:56 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Events and Components   On Apr 4, 2005 11:40 PM, gevgelija50 <[EMAIL PROTECTED]>

Re: [flexcoders] Events and Components

2005-04-04 Thread Manish Jethani
On Apr 4, 2005 11:40 PM, gevgelija50 <[EMAIL PROTECTED]> wrote: > > > In my component, I am trying to add a listener as follows: > > this.parent.Webservice1.GetResults.addEventListener("GetResults", > doSomething) I'm not sure if this'll work, but try passing the result object as a part

Re: [flexcoders] Events and Components

2005-04-04 Thread Ashley Streb
You can bind to the result from the GetResults function directly, flex takes care of generating the binding code for you. (no need to dispatch events) E.g., Or, if you need to invoke a method with the results define your operation like: -ashley gevgelija50 wrote: > > I have a component