Skip to main content
Known Participant
Dec 18, 2022 5:50 PM UTC
Answered

Finish playing the video to the next frame or screen

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.
    kglad
    kgladCorrect answer
    Community Expert
    Dec 18, 2022 6:03 PM UTC
    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
    Dec 18, 2022 6:03 PM UTC
    flv_pb.enterFullScreenDisplayState();

     

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

    function completeF(e:Event):void{

    nextFrame();

    }

    fl.video.VideoEvent.COMPLETE

    Translate
    Noiz321Author
    Known Participant
    Dec 18, 2022 6:28 PM UTC

    There are some errors

    1120: Access of undefined property fl.

     

    Translate
    kglad
    Community Expert
    Community Expert
    Dec 18, 2022 6:34 PM UTC

    import the class

    Translate