Skip to main content
Known Participant
December 18, 2022
Answered

Finish playing the video to the next frame or screen

  • December 18, 2022
  • 5 replies
  • 197 views

I am trying to make an opening video using FLVPlayback 2.5, how can I make it play automatically in full screen and go to the next frame or screen after the end of the video?

 

    This topic is closed to new replies. Start a new post to keep the conversation going.
    Correct answer kglad
    flv_pb.enterFullScreenDisplayState();

     

    flv_pb.addEventListener(fl.video.VideoEvent.COMPLETE, completeF);

    function completeF(e:Event):void{

    nextFrame();

    }

    fl.video.VideoEvent.COMPLETE

    5 replies

    kglad
    Community Expert
    kgladCommunity ExpertCorrect answer
    Community Expert
    December 18, 2022
    flv_pb.enterFullScreenDisplayState();

     

    flv_pb.addEventListener(fl.video.VideoEvent.COMPLETE, completeF);

    function completeF(e:Event):void{

    nextFrame();

    }

    fl.video.VideoEvent.COMPLETE

    Noiz321Author
    Known Participant
    December 18, 2022

    There are some errors

    1120: Access of undefined property fl.

     

    kglad
    Community Expert
    Community Expert
    December 18, 2022

    import the class