1 Reply Latest reply on Apr 19, 2006 6:40 AM by Xithis

    Controlling a loaded movie clip

    csanz
      I'm trying to load a clip (flash with video) and then as soon as the movie is loaded I want the movie to stop... right now the movie plays immediatelly... I tried putting _root.stop(); but that didn't work...

      This is my code:

      this.createEmptyMovieClip("clip_mc", this.getNextHighestDepth());
      var clip_mcl:MovieClipLoader = new MovieClipLoader();
      clip_mcl.loadClip("knockoutbag13.swf", clip_mc);

      This is what I tried:

      clip_mc.onLoad = function()
      {
      clip_mc.stop();
      }

      and this:

      clip_mc.stop();

      None worked...

      Please help