6 Replies Latest reply on Jun 24, 2007 7:13 AM by WebmastaDj

    Check for went MovieClip is finished

    WebmastaDj
      I need a way to check when a MovieClip has finished playing so I am able to excute another function. For example, this is what I have so far.

      btnNext.addEventListener(MouseEvent.CLICK, PlayMovieClip);

      function PlayMovieClip(e:Event):void {
      videoAsianGala2006.play();
      videoAsianGala2006.addEventListener(?????);
      }

      I need to know what to put into the Event Listener so it will listen for when the movieclip reaches the end.