6 Replies Latest reply on Jul 16, 2008 12:41 PM by ntsiii

    Assigning httpservice result in an array

    bidur_devkota
      Hi all,
      I have been trying to call a httpservice and trying to assign the result in an array as shown below
      quote:


      Code:
      var grade:Array=userRequestReload.lastResult.servicelo cations as Array;
      // this is not working



      For the corresponding code the httpservice tag used is:

      quote:


      Code:
      <mx:HTTPService id="userRequestReload" useProxy="false" method="POST" fault="defaultFault(event)" result="reloadComboData()" />



      I an not able to get the desired outcome. I tried setting the resultFormat to array also but couldnt succeed.

      Hope to get help soon.

      Thanks