2 Replies Latest reply on Mar 3, 2010 3:20 AM by abaki

    PROBLEM with HTTP REQUESTS - waiting response

    abaki

      Hi There,

       

      I have implemented http requestes to php and asp.net from flash builder.

       

      getFacetsResult.token = facets.getFacets(url);
      facetXML = XML(getFacetsResult.lastResult);
      facetData = new XMLListCollection(facetXML.subset);
      

       

      As shown above I have a service called facets. and in the next line I want to have result, but my facetXML variable is not populated at first run.

      is there any method for waiting result to be in hand? or what should I do ?