Form post and response

Hi guys, I’m really new to action script and I have a requirement to do a http post and capture the result from the server. I can do a http post and the result opens in a new browser page but I need to capture the resulting HTML and do some regex or xpath to check for the value of an element. If it’s there I need to change the frame displayed to a sucess, if not display the frame showing an error occured. The code I have at the moment looks like: var senderLoad:URLVariables = new URLVariables(); var url:URLRequest = new URLRequest(); url.method = URLRequestMethod.POST; url.data = senderLoad; url.url = postURL; senderLoad.Value1 = Value1.text; navigateToURL(url, “_blank”); If anyone can point me to a tutorial that shows how to capture the result without opening a new browser windows/tab or provide some example code on how to do this I would really apprechiate it. Many thanks Michael