4 Replies Latest reply on Nov 4, 2010 3:25 PM by kglad

    Preloader does not work well in Explorer 8. NEED HELP!!!!

    kevmilan

      Hi

       

      I am just starting to use flash.

       

      I designed a flash site with Flash CS4 and Actionscript 3.0.

       

      I am using this simple preloader, basically I learned from a tutorial:

       

      stop();

      //Preloader
      loaderInfo.addEventListener(ProgressEvent.PROGRESS, updatePreloader);

      function updatePreloader(evtObj:ProgressEvent):void
      {
      //container for the progress of the site (download)
      var percent:Number = Math.floor((evtObj.bytesLoaded*100)/evtObj.bytesTotal);
      preloader_txt.text = percent+"%";
      if (percent==100){
        nextFrame();
       
      }
      }

       

      Can somebody please please help me to make it refresh properly in explorer 8, as it works well once, but if you refresh, it stops working, and stays on 0%.

       

      All it is, is a number going up to 100% nothing complicated until I learn Flash better.

       

      Can somebody help.

       

      Thanks