0 Replies Latest reply on Jul 9, 2007 10:30 AM by eholz1

    How to stop a movie clip that is loaded dynamically

    eholz1 Level 1
      Hello Flash Forum,

      I am using the loadmovie method to load a swf file into a movie clip "container"
      Code snippet:
      var mc:MovieClip = this.createEmptyMovieClip("mc",1);

      mc.loadMovie('bbc_module1.1.swf','bbc_audio',container.getNextHighestDepth(),
      {_x:300.8, _y:240});
      mc._lockroot = true;

      The movie clip I load does not have a stop action in frame 1, but comes up playing (audio and images). I am not using video. It is a series of still images synced to the audio.

      I would like to be able to load the movie clip, stop it from playing, and by clicking buttons, get it to play, pause, etc like the buttons and skin on the FLVPlayer.

      Any tips on how to do this?

      Thanks,

      eholz1