I think so. You should get the responed msg. when the msg describe the 401 error. Please dispatch your custom event.
I use this to capture the event:
My handler look like this:
private function HTTPHandler(event:HTTPStatusEvent):void
resultText.text += "HTTP Response: \r";
resultText.text += event + "\r\r";}The result I'm receiving is:HTTP Response:[HTTPStatusEvent type="httpStatus" bubbles=false cancelable=false eventPhase=2 status=401]There's no "data" field or anything that returns the xml. Should I be using a different event for this?
Can anyone help answer this problem? I really need this answered as the project I'm working on needs this. I'm very new at flex, and I can't find anything that says this is possible in the docs. I'm hoping the answer isn't "no, this isn't possible".
If you can't answer this, can you point me to other resources that may have an answer?
Unfortunately you may be hitting a known limitation of HttpService. See the following blog and follow the links for further discussion: