Playing multiple FLV's sequentially using Plybk component (AS3)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nyc10011
    New Member
    • Nov 2007
    • 3

    Playing multiple FLV's sequentially using Plybk component (AS3)

    Does anyone know the proper syntax to insert (in the AS3 code below) so that additional flv's play sequentially from the same FLVPlybk component? ? I am trying to figure out how to incorporate AS3 cuePoint listeners in order to play movie clips and sound variables that are associated with the flv files.

    Do you need to insert (removeEventLis tener) before calling the next event listener? Thank you in advance for taking the time to respond to this thread.

    import fl.video.*;
    theVid.source = "../test_vid1.flv";
    theVid.addEvent Listener(VideoE vent.COMPLETE, complete_listen er);

    // listen for complete event; play new FLV
    function complete_listen er(eventObject: VideoEvent):voi d {
    if (theVid.source == "../test_vid1.flv") {
    theVid.play("../test_vid2.flv") ;
    }
    };
Working...