8 Replies Latest reply: Mar 17, 2013 9:03 PM by kglad RSS

    looping with cue points, round 2


      OK, so I have done this before, and it has worked.  It should be as simple as copying the code and renaming the FLV player, but I get an "invalid seek" error.  Like I have said, this has worked on previous sites I have made, so any explanation would be great.  I am trying to get a video to play through, and then loop back to the middle of the video and play to the end in a continuous loop.   The only difference I can see is that on my other site, it is streaming from my ftp.  This shouldn't make a difference, as apposed to being local, should it?  I am also using embedded cue points.  Thanks again.  Here is the code:





      import fl.video.MetadataEvent;



      Movie.addEventListener(MetadataEvent.CUE_POINT, loopFunction);

      function loopFunction(e:MetadataEvent):void{

      if (e.info.name=="introEnd") {