design. business. life.

Information

This article was written on 04 Sep 2009, and is filled under Flash.

Current post is tagged

, , , ,

Loop FLV Video in AS2

Just sharing some code I found that worked to loop an flv clip that I had dropped into an AS2 movie…

var myLis:Object = new Object;
myLis.complete = function(){
flvPlayer.play();
}
flvPlayer.addEventListener(“complete”, myLis);

Just drop that in a frame and make sure the Instance name of your flv isĀ flvPlayer.

Found the code in the macromedia.flash group on Google groups, which also had AS3 code for the same thing (but I did not test it). Enjoy!

Leave a Reply