Hi Josh, I've found my problem - it was a race condition, i.e. the new request was killing the previous one. So, I've just placed the locks around the send()-receive() functions. And also, if next request comes I start the timer which checks every 0.5 sec if we can start the request procedure.
Cheers, Dmitri. --- In flexcoders@yahoogroups.com, "Josh McDonald" <[EMAIL PROTECTED]> wrote: > > See if it goes away if you delay your work with a callLater()? If so, then > you're probably dead right :) > > -J > > On Wed, Apr 23, 2008 at 3:27 PM, Dmitri Girski <[EMAIL PROTECTED]> wrote: > > > Hi Tracy, > > > > Probably you are right after all. > > After some time of trouble free usage of httService.lastResult I've > > bumped into the problem that it is null and event.result is not. > > > > Maybe it is a race condition and event comes before the lastResult > > property is set? > > > > Cheers, > > Dmitri. > > > > > > --- In flexcoders@yahoogroups.com <flexcoders%40yahoogroups.com>, "Tracy > > Spratt" <tspratt@> wrote: > > > > > > It is in the docs somewhere, but I couldn't find it when I looked now. > > > Maybe it isn't "exactly" the same. > > > > > > Tracy > > > > > > > > > > > > ________________________________ > > > > > > From: flexcoders@yahoogroups.com <flexcoders%40yahoogroups.com> [mailto: > > flexcoders@yahoogroups.com <flexcoders%40yahoogroups.com>] On > > > Behalf Of Dmitri Girski > > > Sent: Wednesday, April 02, 2008 4:05 PM > > > To: flexcoders@yahoogroups.com <flexcoders%40yahoogroups.com> > > > Subject: [flexcoders] Re: Partial result from HTTPService call > > > > > > > > > > > > Why not to use lastResult? It is absolutely the same as event.result. > > > Even better - you can bind to it :) > > > > > > --- In flexcoders@yahoogroups.com <flexcoders%40yahoogroups.com><mailto: > > flexcoders%40yahoogroups.com <flexcoders%2540yahoogroups.com>> > > > , "Tracy Spratt" <tspratt@> wrote: > > > > > > > > First, don't use lastResult. It is intended for binding > > > expressions. Use event.result. Change that an see if it helps. > > > > > > > > Tracy > > > > > > > > > > > > > > > > > -- > "Therefore, send not to know For whom the bell tolls. It tolls for thee." > > :: Josh 'G-Funk' McDonald > :: 0437 221 380 :: [EMAIL PROTECTED] >