- var thisbg1:Object = bg; // scope it for the closure
- loader.contentLoaderInfo.addEventListener(Event.COMPLETE, function(e:Event):void { onLogoLoad(e,thisbg1); });
+ loader.contentLoaderInfo.addEventListener(Event.COMPLETE, function(e:Event):void { onLogoLoad(e,bg); });
loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, onError);
loader.contentLoaderInfo.addEventListener(SecurityErrorEvent.SECURITY_ERROR, onError);
loader.load(new URLRequest(bg.logo));
loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, onError);
loader.contentLoaderInfo.addEventListener(SecurityErrorEvent.SECURITY_ERROR, onError);
loader.load(new URLRequest(bg.logo));
- var thisbg2:Object = bg; // scope it for the closure
- urlloader.addEventListener(Event.COMPLETE, function(e:Event):void { onAttributionLoad(e,thisbg2); });
+ urlloader.addEventListener(Event.COMPLETE, function(e:Event):void { onAttributionLoad(e,bg); });
urlloader.addEventListener(IOErrorEvent.IO_ERROR, onError);
urlloader.addEventListener(SecurityErrorEvent.SECURITY_ERROR, onError);
urlloader.load(new URLRequest(bg.attribution_url));
}
urlloader.addEventListener(IOErrorEvent.IO_ERROR, onError);
urlloader.addEventListener(SecurityErrorEvent.SECURITY_ERROR, onError);
urlloader.load(new URLRequest(bg.attribution_url));
}
// Tell the function key manager that we'd like to receive function key calls
FunctionKeyManager.instance().registerListener('Background imagery',
// Tell the function key manager that we'd like to receive function key calls
FunctionKeyManager.instance().registerListener('Background imagery',