I created a preloader for my site using a logo that appears as the loading percentage increases. When it’s done it goes to frame 10 (the home page of the site) and begins an XML slideshow along with text and navigation appearing. It worked fine before i added the home page content & XML slideshow. If i test it, no error appears, but if i “simulate download” i get the “Error #2044: Unhandled IOErrorEvent:. text=Error #2036: Load Never Completed.” error. But the home apge & XML slideshow will still load up and play fine, just no site preloader. The code for the loader is below. Thanks for all the support…
CODE:::::::::::::::::::::::::::::::::::
stop();
logo_mask_mc.height = 1;
this.loaderInfo.addEventListener(ProgressEvent.PROGRESS, checkingProgress);
function checkingProgress(event:ProgressEvent):void{
var amountLoaded:Number = event.target.bytesLoaded/event.target.bytesTotal*100;
logo_mask_mc.scaleY = amountLoaded/100;
if(amountLoaded == 100){
this.gotoAndPlay(10);
}
}
END CODE::::::::::::::::::::::::::::