2 Replies Latest reply on Jul 25, 2006 7:43 AM by uzuria

    both main movie and external swf preloader - confusion!

      Hi there!

      I have a webite with my main movie (88kb) and an external swf soundloop (1mb). I made a preloader, but it only loaded the main movie, meaning that after the intro, the soundloop would not start.

      I loaded the soundloop onto level 1, and then tried to make a preloader with this code (I thoguht it worked but it really was a total guess).

      this.onEnterFrame = function() {
      bl = _level1.getBytesLoaded()+this.getBytesLoaded();
      bt = _level1.getBytesTotal()+this.getBytesTotal();
      if (bt<=0) {
      bt = 99;
      if ((bl == bt) && (bt>0)) {
      delete this.onEnterFrame;
      gotoAndPlay("Intro", 1);

      Now when I test the movie, everything loads, but when the soundloop is loaded after the intro, the preloader movie clip appears and starts playing and repeating itself!

      How on earth do I get rid of this?! You can see the problem here:-


      Thanks in advance