1 Reply Latest reply on Aug 29, 2006 3:59 AM by ravich9

    preloader code is not well working in flash8

      hi m using flash8 and for preloader i used script given below, It's not works well when i upload my file to net.The problm is , it somtimes stoped at 80%, somtime on 70%, somtimes at40% and so on,

      onClipEvent (load)
      total = _root.getBytesTotal();
      onClipEvent (enterFrame)
      loaded = _root.getBytesLoaded();
      percent = int(loaded / total * 100);
      if (loaded == total)
      } // end if
      i make a movie clip and placed the code on movie clip.
      pls solve this.

      i think it better for mx but not for 8 version.