Buffering An External .FLV In AS3

Hello guys,
I have this AS for playing external .flv movies from various
buttons...
vid1_btn.addEventListener(MouseEvent.CLICK, clickVid1);
vid2_btn.addEventListener(MouseEvent.CLICK, clickVid2);
vid3_btn.addEventListener(MouseEvent.CLICK, clickVid3);
vid4_btn.addEventListener(MouseEvent.CLICK, clickVid4);
function clickVid1(evt:MouseEvent):void {
MovieClip(this.root).player.source = "./movies/vid1.flv";
function clickVid2(evt:MouseEvent):void {
MovieClip(this.root).player.source = "./movies/vid2.flv";
function clickVid3(evt:MouseEvent):void {
MovieClip(this.root).player.source = "./movies/vid3.flv";
function clickVid4(evt:MouseEvent):void {
MovieClip(this.root).player.source = "./movies/vid4.flv";
How can I add an 8 second buffer time to this? And is it
possible to add a "buffering" message, such as using the Buffering
Bar Component?
Thank you in advance...
Ian

if you're using the flvplayback class you can use its
bufferTime property and the videoevent class to detect buffering
(and other events that you'll probably need to use).

Similar Messages

  • Pause Main Movie while external FLV is streamed

    Hey i was wondering if it's possible to pause the main movie,
    while - through the flv playback component - an external flv is
    beeing streamed. once the flv-video has played through the main
    video should continue playing.
    is that possible? if so, can anybody show me how?
    thx in advance
    Phil

    If all of your assets are on the main timeline of the swf
    (i.e. you don't need to stop specific MovieClip instances--just the
    main timeline), then it's not too hard. You just need to issue a
    stop() action when you want to "pause" the main timeline. I don't
    know your setup, so you might want to pause while the video is
    buffering, or when the user clicks the play button (it seems to me
    that you'd just put a stop() action on the frame where your
    FLVPlayback component lives, right?). Then, listen for the
    "complete" event to fire from the FLVPlayback component to resume
    playback. Before I can offer some sample code, can you tell me
    which version of the FLVPlayback component you're using? AS2 or
    AS3?

  • Flash Player 9 pausing on intial load of external FLV

    After upgrading my Flash player to version 9, I get a very
    noticeable pause when loading an External FLV into a custom FLV
    player that doesn't happen on versions 7 and 8. There is a
    buffering/loading animation movie clip that also locks upafter the
    initial call to the NetStream.play method. The longer the video,
    the longer the pause. The video eventually plays but this initial
    behavior is definitely undesired.
    I also noticed that the browser (IE 6.0.2900) itself locks up
    (reports as Not Responding) if you try to resize,move or click on
    the address bar while the unexpected pause is taking place.

    Hi Stylianos!
    Navigate to
    HD > Library > Internet Plug-Ins: In here do you see a file named Flash Player.plugin?
    If so, click on it once to highlight it.
    Depress the Command + I keys, to get info.
    What version does it say it is?
    ali b

  • Existing 'load external .flv' code?

    Recently, I found a great little Flash  project that acts like a jukebox for external mp3 song files, and am using it on my website to play my song demos.
    I'm now trying to find if there is an existing solution like that for video.  I just need some way to progressively download video files from my webspace when the thumbnail is clicked... and am now looking into some sort of Flash jukebox.
    I've tried just embedding the video files into HTML, but they don't progressively download for some reason (even though they are saved as Progressive With Compressed Header).  I've even tried using prettyPhoto (...a script that mimics a Lightbox like feature, where the whole page dims, and a floating window appears over your site, displaying any media, and allowing you to move back/forth through your list of media)..... works great, but again, not a progressive download, so you stare at a blank screen for a while.
    Seems the only way it works is if I have the file on YouTube or some other site, then embed it or use the prettyPhoto app.
    So, can someone either tell me how to make the embedded file download (OT, but I figured I'd ask), or point at some existing Flash file that serves as a video jukebox, showing all media on a common window?

    Hi,
    You can load external .flv files which is placed on your web server. You have to add a small amount of AS3 code into your flash document. Please click on the below link
    http://www.adobe.com/livedocs/flash/9.0/ActionScriptLangRefV3/flash/media/Video.html
    Please use the sample code which is provided in the bottom of the page. In the code, you will find a line
    private var videoURL:String = "Video.flv";
    In the above line, instead of "Video.flv", you have to give your webserver path like http://www.domainname.com/foldername/videofilename.flv
    (The above code does the progressive download of an video)
    You can play the video through progressive download, by click on an image. To achieve that, you need to place the above code inside the mouse click function of an image.
    Thanks

  • How to load and display the external flv video files in dynamicly and the how to control the flv fil

    How to load and display the external flv video files in dynamicly using AS 3.0
    and  How to control the flv file  add the play paus button and add seekbar.
    I have using to load the flv file following code
    var flvPlaceHolder1:MovieClip = new MovieClip();
    var vid1:Video = new Video(734, 408);
    flvPlaceHolder1.addChild(vid1);
    addChild(flvPlaceHolder1);
    flvPlaceHolder1.x = 1059;
    flvPlaceHolder1.y = 152;
    var nc1:NetConnection = new NetConnection();
    nc1.connect(null);
    var ns1:NetStream = new NetStream(nc1);
    vid1.attachNetStream(ns1);
    var listener1:Object = new Object();
    listener1.onMetaData = function(evt:Object):void {};
    ns1.client = listener1;
    ns1.play("GV-1600 TURNING.flv");
    ns1.addEventListener(NetStatusEvent.NET_STATUS, statusChanged1);
    function statusChanged1(ns1:NetStatusEvent):void
             trace(ns1.info.code);
            if (ns1.info.code == 'NetStream.Buffer.Empty')
                 trace('the video has ended');
                 removeChild(flvPlaceHolder1);
                 //trace('removeChild');
                gotoAndPlay(1786);
    then how to add the play,paus ,full screen button    and   seekbar,volumebar.

    I have to Create the flash presentation for our company product
    In this presentation the left  side the text animation are displayed then right side the our product video is displayed.
    In this presentation i need the following option :
    1, The first product video and animation is finished then the next product is played
    2, then the video displayed  (size width and height 400x300) , I click this video to increase the size(ex:1000x700)
    3, then the playing video i control  it play, stop, paus button and volume bar, seek bar.
    4, then this presentation is displayed on 42 inches LCD TV so this full presentation is run full screen.
    I have finished first two steps 1 and 2
    the following are the screen short and code:-
    code :-
    var count=0;
    var flvPlaceHolder2:MovieClip = new MovieClip();   
    var vid2:Video = new Video(734, 408);
    flvPlaceHolder2.addChild(vid2);
    addChild(flvPlaceHolder2);
    flvPlaceHolder2.x = 1059;
    flvPlaceHolder2.y = 152;
    var nc2:NetConnection = new NetConnection();
    nc2.connect(null);
    var ns2:NetStream = new NetStream(nc2);
    vid2.attachNetStream(ns2);
    var listener2:Object = new Object();
    listener2.onMetaData = function(evt:Object):void {};
    ns2.client = listener2;
    ns2.play("GS-4000.flv");
    this.addEventListener(Event.ENTER_FRAME, BtnFadeIn2);
    function BtnFadeIn2(event:Event):void
        if (this.currentFrame == 387)
            /*flvPlaceHolder2.x = 30;
            flvPlaceHolder2.y = 140;
            vid2.width=1800;
            vid2.height=800;
            trace('Screen size is changed');*/
            if(count==0)
            flvPlaceHolder2.x = 30;
            flvPlaceHolder2.y = 140;
            vid2.width=1800;
            vid2.height=800;
            count++;
    ns2.addEventListener(NetStatusEvent.NET_STATUS, statusChanged2);
    function statusChanged2(ns2:NetStatusEvent):void
        trace(ns2.info.code);
        if (ns2.info.code == 'NetStream.Buffer.Empty')
                trace('the video has ended');
                 removeChild(flvPlaceHolder2);
                 //trace('removeChild');
                gotoAndPlay(433);
    flvPlaceHolder2.buttonMode=true;
    flvPlaceHolder2.addEventListener(MouseEvent.CLICK,home2);
    function home2(e:MouseEvent):void
        if(vid2.width==734 && vid2.height==408)
            flvPlaceHolder2.x = 30;
            flvPlaceHolder2.y = 140;
            vid2.width=1800;
            vid2.height=800;
        else
            flvPlaceHolder2.x = 1059;
            flvPlaceHolder2.y = 152;
            vid2.width=734;
            vid2.height=408;

  • Controlling external flv with ActionScript

    I'm using the NetStream Class to control the playback of an
    external flv. I've got a Pause/Play button using .pause, and Fast
    Forward and Rewind buttons using .seek. What I want to do is once
    the video is done playing to automatically reset back to the
    beginning of the video, allowing the user to press play to view the
    video again without having to reload the page. Right now when the
    video finishes, the user has to rewind the video in order to watch
    it again. I thought I could use .time to determine when the video
    reaches the end to go back to "0" in the video playhead but so far
    I have not been able to get this to work. Any ideas would be
    appreciated. Currently everything is done in frame one of the swf.
    Thanks.

    >>I think obviously there is a difference between FMS
    and Flash MX04. The documents I
    >>refer to are built into the help menu in Flash 7 and
    8 both include the onStatus event
    >>and absolutely no onPlayStatus event.
    Yeah you're right onPlayStatus isn't in the NetStream class
    Flash documentation as this is more about using this class for
    progressive download, whereas the documentation i linked to
    referred to the NetStream class used in FMS Client-side scripting
    for streaming video.
    >>I made a mistake. I meant NetStream.Play.Stop –
    which was very poorly named. That
    >>is what onStatus will return when it reaches the end.
    It isn't really "stop" it is "complete."
    >>So I tend to read it as such!
    NetStream.Play.Stop does seem to be very similar to
    NetStream.Play.Complete in progressive downloads. however i know
    you can't guarantee that NetStream.Play.Stop occurs at the same
    time as NetStream.Play.Complete in a streaming video through FMS,
    as a NetStream.Play.Stop can occur for reasons other than
    completion.
    >>...My guess is that when they took the bits from FMS
    into Flash MX04 they didn't do a
    >>very good job. They purposefully renamed onPlayStatus
    to onStatus...
    onStatus does still exist in FMS Client side scripting...
    >> – with a limited variety of events returned
    (What is Switch?)
    switch refers to playlists - only relevant to FMS streams.
    Anyway, it appears as though all of this talk of the FMS is
    moot regarding the original poster, as I've just had a look at
    skauty's posts in the Flash Media Server forums, ironically, and
    discovered that skauty is using progressive download and not FMS...
    Simple but important distinction...

  • [AS2 CS3/4] Embed external FLV into an MC using AS2 with timeline control

    Hi, Is there anyway to skip the process of manually embedding
    FLVs into SWF files? I want to load FLVs just as I would an
    external SWF.
    I've searched all over and all i can find is how to load FLVs
    into a FLVPlayer component with stop, play and controls to skip in
    time intervals.
    What I need is the ability to load an external FLV and be
    able to control it as if it were in a MC on the timeline, not as a
    streaming video.
    There are SO many questions out there about the FLVPlayer its
    really polluted any and all search results i've tried.
    Shedding some light on this for me would be greately
    appreciated!!!

    For anyone looking for an actual solution to this issue. If
    you're exporting movies out of After Effects, you can export as a
    SWF.
    The only reason I didn't know about this solution is that its
    not included in the render que options, so just select your comp,
    go to File > Export and select the setting for exporting as a
    SWF.
    Thank you kglad for the info

  • Warning for Continuous Looping External flv or f4v as2

    Malfunction issued in Continuous Looping External flv or f4v in as2 from containers created in Flash Professional CS6 with code
    on (complete){
    this.autoRewind=true;
    this.play();
    solution: always make a new document!
    Mystic problems with x times resized documents, at media 2 or 3 times play and then not playing external fly/f4v

    use:
    kglad wrote:
    if all your buttons are attached to the same parent:
    on(press) {
      s = new Sound(this);
        s.setVolume(100);
        _parent.mcPlayer.seekToNavCuePoint("pict1");
        mcPlayer.play();
    on (release) {
        i = -100;
        s = new Sound(_parent);
        s.setVolume(0);
        gotoAndStop("reset");
    on (release) {
        i = -100;
        s = new Sound(_parent);
        s.setVolume(100);
        gotoAndStop("hold");

  • Load external FLV files?

    I would like my desktop AIR app (built in Flash CS3) to load
    and play external FLV files which are on the same computer/hard
    drive but are not packaged as part of the AIR app. Is there a way
    to do this with the sandbox restrictions AIR has? If so can you
    point me to a sample or documentation?
    Excuse me if this is an obvious subject but the information
    out there is incomplete and confusing.

    I'm still running into the following: As soon as I test the
    movie, I get the following in the area where the video should
    appear:
    status (0 seconds)
    Level: status
    Code: NetStream.Play.Start
    status (0.434 seconds)
    Level: status
    Code: NetStream.Buffer.Flush
    status (4.898 seconds)
    Level: status
    Code: NetStream.Play.Stop
    It doesn't matter if I click the button or not. The video is
    on my network.

  • NaN with loading external flv

    Hi all
    I'm having some strange diffulties which I can't solve.
    I'm starting off with a website.swf which loads different
    external swf's depending on the button that has been pressed.
    One of those swf's is a file with different buttons to load
    different external flv's.
    While loading a flv a progressbar shows the percentage of the
    loaded part of the flv
    Now: If I play the first video file everything works fine
    While switching to another button to load another flv during
    the loading of the first flv, My percentage says NaN. and stops
    loading.
    On each button I say:
    on (press) {
    stream_ns.close();
    connection_nc.close();
    _parent.videoloader_mc.unloadMovie();
    on (release) {
    _parent.videoloader_mc.loadMovie("movies/binnenkomers01.swf");
    This is the part I use for loading a flv in f.ex
    binnenkomers01.swf.
    stop();
    delete _global.loaded_interval;
    delete _global.connection_nc;
    delete _global.stream_ns;
    delete _global.pctLoaded;
    // video URL
    video1_url = "movies/binnenkomer06_Floriane.flv";
    _global.connection_nc = new NetConnection();
    connection_nc.connect(null);
    _global.stream_ns = new NetStream(connection_nc);
    videoholder_mc.video.attachVideo(stream_ns);
    stream_ns.play(video1_url);
    stream_ns.seek(0);
    // Zet de video op stop om te wachten tot hij volledig is
    ingeladen
    stream_ns.pause();
    _global.playstatus = "pauze";
    play_pauze_mc.gotoAndStop("pauze_lb");
    this.createEmptyMovieClip("progressBar_mc",
    this.getNextHighestDepth());
    progressBar_mc.createEmptyMovieClip("bar_mc",
    progressBar_mc.getNextHighestDepth());
    with (progressBar_mc.bar_mc) {
    beginFill(0xCCE6FF);
    moveTo(0, 0);
    lineTo(300, 0);
    lineTo(300, 23);
    lineTo(0, 23);
    lineTo(0, 0);
    endFill();
    _xscale = 0;
    progressBar_mc.createEmptyMovieClip("stroke_mc",
    progressBar_mc.getNextHighestDepth());
    with (progressBar_mc.stroke_mc) {
    lineStyle(0, 0xCCE6FF);
    moveTo(0, 0);
    lineTo(300, 0);
    lineTo(300, 23);
    lineTo(0, 23);
    lineTo(0, 0);
    progressBar_mc._x = 640;
    progressBar_mc._y = 400;
    this.createTextField("loaded_txt",
    this.getNextHighestDepth(), 0, 0, 200, 22);
    loaded_txt._x = 645;
    loaded_txt._y = 405;
    var my_fmt:TextFormat = new TextFormat();
    my_fmt.color = 0x333333;
    my_fmt.font = "Verdana";
    my_fmt.size = 9;
    my_fmt.align = "left";
    _global.loaded_interval = setInterval(checkBytesLoaded, 500,
    stream_ns);
    function checkBytesLoaded(stream_ns) {
    trace("my_ns.bytesLoaded: "+stream_ns.bytesLoaded);
    trace("my_ns.bytesTotal: "+stream_ns.bytesTotal);
    _global.pctLoaded =
    Math.round(stream_ns.bytesLoaded/stream_ns.bytesTotal*100);
    trace("_global.pctLoaded: "+_global.pctLoaded);
    loaded_txt.text = "loading... "+pctLoaded+"%";
    loaded_txt.setTextFormat(my_fmt);
    progressBar_mc.bar_mc._xscale = pctLoaded;
    if (isNaN(pctLoaded)) {
    clearInterval(loaded_interval);
    } else {
    trace("OK");
    if (pctLoaded>=100) {
    clearInterval(loaded_interval);
    Hope you guys can help me....

    Maybe they have hotlink protection enabled
    "indierockmedia" <[email protected]> wrote
    in message
    news:f3c4mo$ddn$[email protected]..
    > Hi, I am having trouble with some loading issues. I
    design ecards for
    > bands and
    > their tour dates, bio, and video files all load external
    files (text files
    > for
    > bio/tour, flv files for the video, and an swf skin file
    for the video).
    > Its
    > only a problem when I have to embed those ecards into
    sites that don't
    > host the
    > ecard. I have used crossdomain.xml and every fix ive
    read about, and still
    > have
    > issues. Let me detail below:
    >
    > For example, I have an ecard for a band at
    >
    http://bandwebsite.com/ecard/ecard.swf
    > The tour and bio and video files load simply "tour.txt,
    bio.txt,
    > video.flv,
    > skin.swf"). Works great because no external servers are
    being called.
    >
    >
    But when I want to embed the file elsewhere, or use different
    domains,
    > I
    > have issues:
    > I want to embed the ecard on to
    http://www.otherwebsite.com,
    so I can't
    > have
    > it simply call "tour.txt" for example, the ecard will
    think the tour file
    > comes
    > from www.otherwebsite.com/tour.txt. So I call the full
    path
    >
    http://bandwebsite.com/ecard/tour.txt
    > I go to the ecard and click the button to load the tour
    dates. The text
    > box
    > that worked before says "undefined". So I put a cross
    domain file at the
    > root
    > of
    http://bandwebsite.com that
    allows access to files from
    > www.otherwebsite.com. Still getting undefined. I go to
    the embed code for
    > flashobject and have allowscript access to "always".
    Still undefined. I go
    > and
    > add System.security.allowDomain to my timeline and
    specify
    > www.otherwebsite.com. Still undefined. Still won't load
    my video or video
    > skin
    > and text files.
    >
    > Am I missing something?
    >
    > mikey
    >

  • Flash streaming external flv files

    I have a web page which contains a flash object embeded in
    it, this flash is streaming external flv files. The flash was being
    displayed correctly when the website was hosted on a windows 2000
    server but when the site was moved to a windows 2003 server the
    flash is no longer displayed, instead of it a box with undefined
    text inside it. I searched the Adobe support center and found this
    Tech Note about adding the MIME Type through IIS since windows 2003
    doesn't stream flv files. I followed the steps mentioned but still
    am getting the undefined box
    http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_19439&sliceId=2
    Does anyone know how to solve this issue?
    Thanks in advance.

    This is the problem.
    When Flash Player movie files that stream external FLV files
    (Flash videos) are placed on a Microsoft Windows 2003 server and
    then viewed in a browser, the SWF file plays correctly, but the FLV
    video does not stream. These files work correctly if tested on
    other operating systems. The issue affects all FLV files played via
    Windows 2003 server
    And can be solved by....
    1. On the Windows 2003 server, open the Internet Information
    Services Manager.
    2. Expand the Local Computer Server.
    3. Right-click the local computer server and select
    Properties.
    4. Select the MIME Types tab.
    5. Click New and enter the following information:
    * Associated Extension box: .FLV
    * MIME Type box:flv-application/octet-stream
    6. Click OK.
    7. Restart the World Wide Web Publishing service.

  • External flv help

    Hi..in the past I've used layers to load videos. On a button,
    one swf with
    embedded video would simply replace the previous one on the
    same level.
    Trying to enter the world of external FLV. I want to do the
    same thing. Load
    external FLV and when button is pushed, have that FLV be
    replaced with a new
    external FLV. I can load the first one but can't seem to find
    out how to
    unload that one and replace it with another when a new button
    is pushed?
    Here is normal code to load and control the first external
    flv off a button.
    Works fine. Now how can I have more buttons that simply
    unload the current
    FLV and replace it with another?
    Thanks so much.
    var my_nc = new NetConnection();
    my_nc.connect(null);
    var step2_ns = new NetStream(my_nc);
    step2_ns.onStatus = function (infoObject) {
    if(infoObject.level.toLowerCase() == "error") {
    // your own error handling code here
    trace(infoObject.code);
    holder_video.attachVideo(step2_ns);
    attachVideo_btn.onRelease = function () {
    step2_ns.play("ballys.flv");
    rewindVideo_btn.onRelease = function () {
    step2_ns.seek(0);
    step2_ns.pause(true);
    stopVideo_btn.onRelease = function () {
    step2_ns.pause(true);
    playVideo_btn.onRelease = function () {
    step2_ns.pause(false);
    close_btn.onRelease = function(){
    stream_ns.close();

    Thanks for the help. I'm not loading the flv into a premade
    component I'm
    loading it into a "holder" so it can appear on the stage as
    just the
    video...it plays in a graphic TV. I want to swap out the FLV
    on the stage.
    Can the
    "Nickels55" <[email protected]> wrote in message
    news:eifigl$rf7$[email protected]..
    > YOu don't have to unload flv's, you just change the
    content path of the
    > FLV
    > using actionscript. Lets say you gave an instance name
    to the FLVPlayback
    > component of vid. This would be the button code:
    >
    > on(release){
    > vid.contentPath = "newfile.flv"
    > vid.play(); //this may also be unnecessary
    > }
    >
    > That's all there is to it.
    >

  • Someone have a working solution for external flvs?

    I've been going around in circles for a week on this one.... trying several different methods, all of which have issues.
    All I want is this....
    I have an HTML page that has movs or flvs embedded which don't load until you click on play... and when you do, it does a Fast Start type of thing, where it starts playing once it has enough of a head start....
    I've tried seemingly everything...
    -Mov files exported from AfterEffects (as Fast Start), embedded in the HTML....  Doesn't Fast Load for some unknown reason.
    -Using prettyPhoto (Lightbox-like app) with Fast Start mov's ...  Doesn't Fast Start.
    -Using prettyPhoto (Lightbox-like app) with flv's ...  Doesn't appear to do .flv's.... Only .swf's.
    -Using a variety of codes found online for embedded mov's....  Still doeesn't Fast Start.
    -Using a variety of codes found online for embedded flv's...  Either flat out doesn't work... has errors... or requires 'free' flv players that are not free if you use them commercially (as I would be).
    Lastly, I tried 'playing back external flv files dynamically' (from the Adobe Flash CS3 manual.... which I ended up getting to work (and although I can't tell if it's Fast Starting, it certainly loads and plays fast enough, and probably is.... You just don't see the load bar, so it's not entirely obvious if it is).
    That's all good... but the sample code from the manual has some issues...  Namely, no controls.  So, I put in a 'Play' button on frame one, and have it jump to the video object (frame 3) when you click the button.  That's fine.... but the problem now is that there is no way to restart the video once it's played (or pause it while it's playing, restart half way through, etc).  I can't just put in a 'Play Again' button at the end, since the FLV is loading externally, so I don't have an actual timeline for the movie clip to put any code on, to happen at the end of the video.
    Does anyone have ANY EASY, WORKING solution to give me a thumbnail gallery of videos which you can click on and view, where the clips do NOT load until you click play, and when they load, they play as soon as they have enough of a head start?  It can be .mov or .flv....
    Sorry, I've just spent a week going around in circles for what seems like a simple task here....  I need a complete, working solution.... code and explanation.
    Can anyone help out?  (I have the AfterEffectsCS3, FlashCS3, and Vegas running on an XP Pro PC)

    For those following along, I found that Adobe Flash CS3's FLV Player component works well, and is FAR less complicated than all the other solutions I found.  I'm still working on getting it to behave exactly as intended, but it's definitely the easiest and most successful solution so far.
    At this point, I have the embedded clips that display right away (despite not being fully loaded)... so you don't have blank spots, like non-progressive clips would do while they are loading.  They also allow you to hit play even while they are still loading.  So, all that is very good...  The only issue now is the clips download regardless of whether you hit play or not... so all clips on the page will be downloading when you enter the page (causing a possible bottleneck, plus downloading all that data, regardless of whether it's needed or not).

  • GotoAndPlay next frame after external flv finishes

    The subject title pretty much tells it all.  I've got a flash project where a video component plays an external flv file.  I've got a different flv file loaded at each keyframe.  Right now the flv plays and then it stops and waits for you to click on the next video you want to watch.  I want it to automatically go to the next keyframe and start the next video.  Any suggestions?

    Ok, I just found something that may help you help me..I'm not the one who originally created this component so I wasn't quiet sure how it was done but your question got me to investigating.  It looks like I'm using exactly what is described here, http://www.meshybeats.com/components/userguide.htm.
    Here's their example of what I could do to trigger something at the end of the video playing:
    var myListener = new Object();
    myListener.end = function(eventObject):Void
    trace(eventObject.target);
    trace(eventObject.type);
    trace("video ended");
    myDisplay.addEventListener("end", myListener);
    I'm not sure how I would manipulate that to have it go to the next frame though.  Any thoughts?

  • External Flv video finish goto first frame

    Hi,
    I insert 1 external flv video in maintimeline 2 frame.
    when video finished goes to 1st frame.
    Plz Help Me............
    Thanks & Regards,
    Mandar

    fullscreenbtn.addEventListener(MouseEvent.CLICK,f);
    function f(e:MouseEvent):void{
    stage.displayStage="fullScreen";
    // make sure to use the allow fullscreen html template (file>publish settings>html).

Maybe you are looking for