1 Reply Latest reply on Sep 15, 2007 8:15 AM by clbeech

    While Loading MC

    greatscott90
      I'd like to load a swf into a movie clip, then stop the movie clip. What line of code can I use after:
      loadMovie("Second.swf", BlankTwo_mc);
      and before
      _root.BlankTwo_mc.stop();

      I just learned that I need to wait until the movie is loaded to control it, what line of code do I use to delay while the movie is loading before I can control it? Also is there a preloader I can run similar to this to show the viewer the loading process:

      onEnterFrame = function() {
      framesLoaded = (Math.ceil (( _parent.getBytesLoaded() / _parent.getBytesTotal()) * 100));
      gotoAndStop (framesLoaded);
      info_txt.text = framesLoaded + "% completed";
      }
      }

      Thanks.