0 Replies Latest reply on Sep 5, 2008 1:40 AM by chestercat

    FLVPlayback Seek Bar

      I am having trouble getting the seek bar to work with cue points on the FLVplayback component. I was able to set up slide cue points using the following code and the slides change when the video plays. But when I drag the seek bar forward or backward the slides do not change.

      var listenerObject:Object = new Object();
      listenerObject.cuePoint = function(eventObject:Object):Void {
      _level0.currentSlideName = eventObject.info.name;
      _level0.Presentation.gotoSlide(eval(_level0.curren tSlideName));
      _level0.Presentation.eval(_level0.currentSlideName ).gotoAndPlay(1);
      display.addEventListener("cuePoint", listenerObject);

      Also is there some way to get the FLVplayback component to work with slide cue points without using the above addEventListener code? Previously I used the Flash 7 MediaDisplay and MediaPlayback components and only needed to add the following code on loading of the component but it does not work with the flash 8 FLVplayback component: mx.controls.streamingmedia.behaviors.SlideCuePoint Listener.initializeListener(this, this._parent);