3 Replies Latest reply on Feb 21, 2008 5:26 PM by ntsiii



      I want to call a service from within a function, but this doesnt seem to work:

      private function resultHandler(evt:ResultEvent):void



      Also, is there anyway to call two methods from one myservice.getOperation('userloggedin').send();????
        • 1. Re: Functions
          Are you trying to pass the return value from "getOperation"??

          if so just add the var as a node in your service tag and bind it to the result

          then just do
          private function resultHandler(evt:ResultEvent):void

          • 2. Re: Functions
            jefflemon Level 1
            No, I want to call two services at once, so atm I am calling one and in the result handler, trying to call the other.... how can i do this?
            • 3. Re: Functions
              ntsiii Level 3
              I think you are just not using the right syntax for the webservice operation.

              Calling a webservice operation form a function is a normal thing to do. The syntax depends on the wsdl.