0 Replies Latest reply on Apr 21, 2008 1:23 PM by eapre

    FLV cue points to play movieclips

    eapre
      Hi,
      I'm having trouble with getting a FLV to start playing a movieclip when it gets to a certain point in the video, and then play another movieclip next. I've looked and looked but I'm so confused about the cue point thing...Flash's help section is not very clear. Below is what I have so far, in which I have a play/pause button that stops the movieclip too...I just need to put the next and previous controls that have certain cue points....help please? Thanks!

      /**
      Requires:
      - FLVPlayback component on the Stage with an instance name of my_FLVPlybk
      */
      import mx.video.*;
      my_FLVPlybk.playPauseButton = my_plypausbttn;
      my_FLVPlybk.forwardButton = nextbtn;
      my_FLVPlybk.backButton = backbtn;
      var listenerObject:Object = new Object();
      listenerObject.stateChange = function(eventObject:Object) {
      if (my_FLVPlybk.paused)
      maturityintro_mc.stop();
      };
      my_FLVPlybk.addEventListener("stateChange", listenerObject);
      stop();

      I just need my next and back buttons to take them to a cue point that starts up a movieclip, and of course stops the movieclip they're on. Thanks!!