Skip to main content
Known Participant
December 18, 2022
Answered

Finish playing the video to the next frame or screen

  • December 18, 2022
  • 1 reply
  • 168 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 has been closed for replies.
    Correct answer kglad
    flv_pb.enterFullScreenDisplayState();

     

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

    function completeF(e:Event):void{

    nextFrame();

    }

    fl.video.VideoEvent.COMPLETE

    1 reply

    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