Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New Coder
    Join Date
    Oct 2006
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Smile How can I redirect at the end of playing a FLV file...

    Any ideas?

    I want to redirect the user after they have finished watching FLV video that has been embedded into a page with a SWF file. Any ideas on how to do this?

    I did find this: http://www.webvideozone.com/public/280.cfm
    and that is exactly what I would like it to do, but how?

    TIA

  • #2
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    That really depends on how your flv player was created. Can you attach your .fla file?
    ||||If you are getting paid to do a job, don't ask for help on it!||||

  • #3
    New Coder
    Join Date
    Oct 2006
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Sure, here is the file:

    http://www.thedistinct.com/host/random/test.fla

    Thanks!

    edit: I followed these directions:
    http://www.peachpit.com/articles/art...?p=170179&rl=1
    Last edited by daniel981; 12-20-2006 at 04:48 PM.

  • #4
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    Do you know the length of the video? What you could do is use in actionscript is this
    Code:
    function openWebsite(url:String)
    {
        getURL(url,'_self')
    }
    var website:String = 'http://www.somesite.com';
    var flvtime:Number = lengthofmovie * 1000;
    setTimeout(openWebsite,flvtime,website)
    ||||If you are getting paid to do a job, don't ask for help on it!||||


  •  

    Posting Permissions

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