1 Reply Latest reply on Jul 2, 2011 11:10 PM by kglad

    Video Loop (Help)

    UltimateFlashxz

      hey, im working a on little video project and i have a video that plays (obviously). What i would like to know if there was some way to make the video replay after it ends automaticly. i havent worked with video in flash before so im not sure what to do.

       

      thanks.

        • 1. Re: Video Loop (Help)
          kglad Adobe Community Professional & MVP

          if you're using an flvplayback component you can use the complete listener to replay:

           

           

          var lo:Object = new Object();

          lo.complete = function(eObj:Object):Void {

          flv.seek(0);  // where flv is your component's instance name

          flv.play();  // where flv is your component's instance name

          };

          flv.addEventListener("complete", lo);  // where flv is your component's instance name