7 Replies Latest reply on Sep 29, 2006 7:27 AM by kglad

    issue preloader

    jaanakapradeep
      hi,
      could you please help me how to configure this and if you can explain each line i appreciate you

      onClipEvent (enterFrame) {
      if (_parent.doneLoading == 0) {
      total = _parent._parent.getBytesTotal();
      isloaded = _parent._parent.getBytesLoaded();
      p = 140*(isLoaded/total);
      _parent.bytes = int(isloaded/1000) add " KB of " add int(total/1420) add " KB";
      _parent.percent = int(p) add "% LOADED";
      _parent.bar._xscale = p;
      if (Number(p)>Number(99)) {
      _parent._parent.gotoAndPlay(Number(2));
      _parent.gotoAndStop("off");
      _parent.doneLoading = 1;
      } else {
      _parent._parent.gotoAndPlay(Number(1));
      }
      }
      }

      ////////////////////////////

      thank you