A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Redirect at end of movie

  1. #1
    Junior Member
    Join Date
    Jul 2004
    Posts
    5

    Redirect at end of movie

    I have read many threads with no answer to what i am looking for. Your help would be appreciated.

    Imported .mov to flv. But it goes to the url before the movie ends (specifically a few seconds before the movie ends). If i refresh, the entire movie plays to the end. Would setting up a cue point at the end of the movie to get url work and if so how do you do it?

    Thank you all.

  2. #2
    Flashmatics silentweed's Avatar
    Join Date
    Mar 2005
    Location
    London, UK
    Posts
    4,876
    lets see some of your code or fla files..are you using a component for the video or using the NetStream classes etc and doing it using code?
    Flashmatics | Flashmatics Library (free downloads)
    -----------------------------------------------------
    Latest Projects:
    The Dead Room | Are You Smarter | Prison Break (Frame A Friend) | Beck's Fusions | The 24 Experience

    -----------------------------------------------------
    Flash Certified Developer

  3. #3
    Senior Member
    Join Date
    Sep 2000
    Posts
    272

    This might be useful......

    Greetings,

    You can use this:

    var listenerObject:Object = new Object();
    listenerObject.complete = function(eventObject:Object):Void {
    //your function here
    };
    my_flvPb.addEventListener("complete", listenerObject);

    In this case I have a FLVPlayback component on the stage with an instance name of my_flvPb. I use this quite a bit and it works well for me.

    Hope this helps.

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