A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: URGENT - Progressive download Vid - How to put something at end of movie?!?!?!?!?

Hybrid View

  1. #1
    davidbyrne.net.au
    Join Date
    Dec 2000
    Location
    Perth, Australia
    Posts
    63

    Exclamation URGENT - Progressive download Vid - How to put something at end of movie?!?!?!?!?

    Hey Guys,

    Got a bit of a stumper at the moment.

    I think I am trying to do something pretty easy but not sure if it can be done.
    What I am trying to do is run a video from a web server with a progressive download and once the movie has finished playing stop on a graphic so people can click a link. I dont want the movie to start again or stop on the last frame of the video, just stop on a new frame of a graphic at the end of play.

    Can this not be done through progressive download and will i need to embed the video or something so i can put that frame on the time line

  2. #2
    Mod cancerinform's Avatar
    Join Date
    Mar 2002
    Location
    press the picture...
    Posts
    13,448
    If you use the video component you can use the complete method:

    var listenerObject:Object = new Object();
    listenerObject.complete = function(eventObject:Object):Void {
    // insert event-handling code here
    };
    my_FLVplybk.addEventListener("complete", listenerObject);
    - The right of the People to create Flash movies shall not be infringed. -
    | www.Flashscript.biz | Flashscript Biz Classes/Components |

  3. #3
    davidbyrne.net.au
    Join Date
    Dec 2000
    Location
    Perth, Australia
    Posts
    63

    Stil confused?

    Sorry I dont understand that?

    I don't see how that will work?

    SO I make a second frame on the time like and put my button "button01" on the the second frame and give it a stop function, then put that code you sent on the first frame? and then waht do I need to edit?

  4. #4
    Mod cancerinform's Avatar
    Join Date
    Mar 2002
    Location
    press the picture...
    Posts
    13,448
    That code will signal when the movie is finished. Then inside the listener you add something like going to another frame or loading a picture and closing the video.
    - The right of the People to create Flash movies shall not be infringed. -
    | www.Flashscript.biz | Flashscript Biz Classes/Components |

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center