3 Replies Latest reply on May 27, 2008 8:17 AM by theTraveler3

    Preloader Question

    Borrick
      This is just a small question. How would I change the display from bytes to kilobytes in the text box.?
      Here's the code
      loaded = Math.round(getBytesLoaded());
      total = Math.round(getBytesTotal());
      percent = loaded/total;
      preloader._width = percent*890;
      //the code for the text box below
      text = loaded+"bytes";
      if (loaded == total) {
      gotoAndStop(2);
      } else {
      gotoAndPlay(1);
      }