Hi

After successfully creating a carousel navigation I added a preloader to it.
It works well on FF3 FP10, but does not on IE7 FP9. I don't know how it
previews on other browser and players.

You can downlaod the swf here:
http://drop.io/carouselPreloadin

The code for preloading is this one:

stop();

this.loaderInfo.addEventListener(ProgressEvent.PROGRESS,checkingProgress);
function checkingProgress(event:ProgressEvent):void {
    var procentLoaded:Number=event.bytesLoaded/event.bytesTotal*100;

preloader.loaderPerc.perc_mc.perc.text=String(Math.round(procentLoaded))+"
%";

preloader.loaderPerc.kb.text="["+String(Math.round(event.bytesLoaded/1024))+"
KB from "+String(Math.round(event.bytesTotal/1024))+" KB]";

preloader.loaderPerc2.perc_mc.perc.text=String(Math.round(procentLoaded))+"
%";

preloader.loaderPerc2.kb.text=String(Math.round(event.bytesTotal/1024))+"
KB";

    preloader.loaderPerc.bar.scaleX=(procentLoaded/100)
*stage.stageWidth/305;
    preloader.loaderPerc2.bar.scaleX=(procentLoaded/100)
*stage.stageWidth/305;

    if (procentLoaded>=100) {
        gotoAndPlay(2);
        removeEventListener(ProgressEvent.PROGRESS,checkingProgress);
    }
}


Am i maybe using a feature that doean't work on FP9? What else could be the
problem?
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to