The event object for FLVPlayback is fl.video.VideoEvent
This would be the script to loop video when it comes to the end
myVideo.addEventListener(fl.video.VideoEvent.COMPLETE, onComplete);
function onComplete(evt: fl.video.VideoEvent) {
myVideo.playheadTime =0;
myVideo.play();
}