Hello,
I use the following code to load an external logo into a Flash Movie.
var myRequest:URLRequest=new URLRequest(logoPath);
var loader:Loader = new Loader();
loader.load(myRequest);
holder_mc.addChild(loader);
What if the logo file is not find? I wish that if the logo is not found, another default logo will be used, i.e.
if (logoPath is here) {
var myRequest:URLRequest=new URLRequest(logoPath);
} else (logoPath is not here) {
var myRequest:URLRequest=new URLRequest(“defaultlogo.png”);
}
How can I do that?
Thanks and best regards
Alex