3 Replies Latest reply on Oct 11, 2007 8:40 AM by bossche001

    preloader

    bossche001
      Hi

      I have a preloader in a different scene then my main movie.
      I noticed that my preloader only show up when it reaches 97%

      What could be the reason for that? It's a very low prelaoder

      frame 1:
      ifFrameLoaded (2) {
      gotoAndPlay(2);
      }

      stop();



      frame2:
      total = int(_root.getBytesTotal()/1024);
      download = int(_root.getBytesLoaded()/1024);
      iBytes = (total/download)*100;

      trace("total: " + total);
      trace("download: " + download);
      trace("iBytes: " + iBytes);

      if (total == download) {
      nextScene();
      } else {
      pBar._xscale = iBytes;
      status_txt.text = iBytes + "%";
      play();
      }



      frame 3:
      gotoAndPlay(2);


      Tx for your help...

      Tom