I'm using XML to display a latest news feed on my mobile app. I use the example here:
Everything works great, but if (for example) my web server is not responding (say the web server is down) the xml.load must poll the web server for about 20 seconds or more trying to connect, delaying my app from loading. I'd like it to try to load the xml file for 5 seconds and if it doesnt get a response from the web server then carry on loading the app.
I've looked into adding a timeout using these methods:
and Loadvars onHTTPStatus
but none are supported in flash lite 2.x. Can anybody suggest another approach please?
Thanks for any help.