2 Replies Latest reply on Oct 3, 2006 8:37 PM by stanbridgethegreat

    Preloading Large MovieClips

    stanbridgethegreat Level 1
      Hi there,

      I have a single flash movie and want to attach a preloader to the start. In the past, I have used the following code to do this:

      myLoaded = Math.round(getBytesLoaded());
      myTotal = Math.round(getBytesTotal());
      myPercent = myLoaded/myTotal;
      myBar._width = myPercent*300;
      myText = Math.round(myPercent*100)+"%";
      if (myLoaded == myTotal) {
      gotoAndStop("MainScene", 1);
      } else {

      Unfortunately, when I apply this code to my new Flash movie (1.4Mb in size) the preloader doesn't run. The movie just stays blank while it loads and then skips to the main scene in the movie.

      Here's a copy of the original FLA file (1.6Mb):

      If someone could point me in the right direction or show me what I am doing wrong it would be very much appreciated!


      csjacks (AT) hotmail (DOT) com