3 Replies Latest reply on Oct 20, 2009 12:35 PM by kglad

    FLVPlayback loop 3 times then stop

    Melissa Sweeney

      I've successfully set up an FLVPlayback loop in AS2 using this code:

      import mx.video.*;
      var listenerObject:Object = new Object();
      listenerObject.complete = function(eventObject:Object):Void {

      my_FLVPlybk.addEventListener("complete", listenerObject);
      my_FLVPlybk.contentPath = "http://www.kstp.com/kstpImages/flash/images/IHN.flv";


      What I would like to do is stop the loop after the .flv plays 3 times.


      Any help would be appreciated! Thank you!