Guys....i need help....anyone out there with a solution or a similar problem!
Not sure, but it looks like there is a idleTimeout. I suppose you could
wait to see if loaded isn't true after idleTimeout.
Please can you give me a sample snippet of what you want me to try out....cos i dont really know the class which the idletimeout belongs too
I think before any request send you find any page like http://www.google.com if you will get response then your net connection is work and you go ahed with your request other wise your net connection have some trouble.
This is also done using ajax in php page and communicate with flex via Extenalinterface.
Hmmm...thats an idea....so i can listen for Http Status codes that way...right? But i was wondering since the HTML control is a wrapper for HTML loader...that the underlying class implementation might somehow include URL requests where i can do check for status codes....is that possible?
Below is Ajax code
HttpWebRequest request = (HttpWebRequest)WebRequest.Create(Request.QueryString["urladdress"]);
request.Method = "HEAD";
HttpWebResponse response = (HttpWebResponse)request.GetResponse();
Response.Write("Not Valid Address / Not find response of url ");
if we gett header response or get status code of urladdress's site then this url is valid if we got error or not get then something is trouble in connection .