Hey guys,
I need to attempt to download a 1kb text file on startup to check if there is a connection. This is because of the environment.
I realised:
//...
testLoader.addEventListener(IOErrorEvent.IO_ERROR,someErrorHandler)
or:
try
{
//...
testLoader.load(someURLRequest);
}
catch (e:Error)
{
someErrorHandler();
}
Can someone explain the difference between these? try or catch under a search shows nothing.
Cheers.