0 Replies Latest reply on Jun 18, 2008 12:45 PM by eranicfetzer

    Preloader Code Help

      I have a preloader on my website that seems to be very temperamental, sometimes it works and sometimes it doesn't. I have posted the script below, please let me know what I can do to fix the main probelm of the load bar freezing at 0%.

      onClipEvent (enterFrame) {
      loading = _root.getBytesLoaded();
      total = _root.getBytesTotal();
      percent -= (percent-((loading/total)*100))*.25;
      per = int(percent);
      percentage = per+"%";
      loadBar._width = per;
      if (percent>99) {