I'm new to Flex and I am using web services to make a call to my server. This is working. My problem is that I don't know how to store the value of the result to a variable.
When I put a break point at the end of my ResultHandler() function and run the application in debugging mode, I can expand the variables tab and see that the server is successfully returning a string of text to Flex. The string is stored in the "value" column for event.result.
However, my attempts to access this string of information have been unsuccessful. I have tried:
myResultData = event.result;
myResultData = event;
myResultData = valueOf(event.result);
myResultData = event.message;
I am getting close with event.message, but I am getting additional information around my text string that I do not want. An example of what else is displaying is below:
body = "MY TEXT STRING THAT I AM TRYING TO REFERENCE"