Looping Video Script Does Not Work, Help
Hello,
I have a video I am trying to loop.
I have created an Animate file from the ActionScript 3 in Animate, and I have saved it in the same folder that the video resides in.
I have taken a FLVplayback from the components window, and placed it on the stage of the file.
Here is the script I am using, but, it does not work. The video does not even play:
vidplay.source="testvid.mp4";
import fl.video.*;
function onFLVComplete(event:VideoEvent):void{
event.target.play()
}
player.addEventListener(VideoEvent.COMPLETE, onFLVComplete);
Can you let me know what I am doing wrong or, let me know how to change the script to accommodate a loop and allow the video to play? I am running Animate CC 2018.
Thank you,
Sky
