D,
If you could post an example of your command class and perhaps the delegate we should find out what it is quite quickly.
 
Regards,
 
Bjorn Schultheiss
Senior Flash Developer
QDC Technologies
 


From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Tim Hoff
Sent: Tuesday, 8 August 2006 9:51 AM
To: [email protected]
Subject: [flexcoders] Re: Wierd cairngorm event dispatching error

Hi Dave,

It looks like what is happening is that you are not removing the event
listeners after the service call result is returned. Usually,
Cairngorm applications use a Responder for this kind of thing.
However, if you are using addEventListener in your commands and
delegates, just add removeEventListener in the onResult and onFault
functions.

-TH

--- In [EMAIL PROTECTED]ups.com, "Dave Bobby" <[EMAIL PROTECTED].> wrote:
>
> I have this httpservice that makes an http call and onResult calls
> the delegate_onResult method. But somehow this delegate_onResult
> method gets called 1 time, the first time this service is called, 2
> times the second time the service is called, 3 times, 4 times and so
> on.
>
> Its seems like, everytime I make the httpservice call, some event
> queue keeps adding the event handlers. now this is my first project
> in cairngorm, so i might be doing something wrong. but i do not know
> what. any ideas?
>
> Thanks.
>

__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to