6 Replies Latest reply: Mar 25, 2009 4:00 PM by sneakyimp RSS

    Keeping WebService responses straight

    sneakyimp Community Member
      After a bit of a struggle, I've managed to get the flex WebService class working with my Flash CS4 project thanks to this:
      http://flashauthoring.blogspot.com/2008/10/using-flex-webservice-component-in.html

      The problem I'm having is that If I do two calls in rapid succession to different methods of the same WebService, then I can't distinguish the results when they come back. In my project, my function onWebServiceData would trigger twice, but I couldn't tell which time was in response to Method1 and which was in response to Method2.

      I've attached a stripped down version of my code:

      Any suggestions about how to sort this out would be much appreciated.