I am trying to load swf from an url. there isnt an error but i am trying to give error if internet connection was lost. I used this code. it loads the url but not give an error.where is my mistake can you help me?
var myLoader:Loader = new Loader();
try {
var url:URLRequest = new URLRequest("http://....swf");
myLoader.load(url);
addChild(myLoader);
}
catch(error:Error){
trace("Error loading image thumbnail");
}