dcsimg
A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: After SWF-FLV HTML plays, I want to redirect to another HTML page

  1. #1
    Junior Member
    Join Date
    Mar 2007
    Posts
    6

    After SWF-FLV HTML plays, I want to redirect to another HTML page

    As mentioned in the title...

    Here is the reference link;

    http://www.lewiscommunications.tv

    In the META tag, I have a redirect that goes to the next page (the default main page of the website). It's timed at 17 seconds. The FLV is 15 seconds.

    It kinda works...but not 100%. The best out would be to embed a redirect into my .FLA file, then export the SWF movie. After searching the Flash Video board, and 20 pages later...no explicit detail.

    So my question is...How do you do it?

    I have Flash 8, and I'm a noob.

    Thanks in advance.

    Irwin

  2. #2
    Junior Member
    Join Date
    Jul 2008
    Posts
    1

    any luck???

    I have the same problem and can't seem to find a solution. Did you find the answer?

  3. #3
    Junior Member
    Join Date
    Mar 2007
    Posts
    6
    Pixelpappa,

    Insert a frame or keyframe after your video plays. Then in the ACTIONS window add the following script;

    getURL("../default.asp", '_self');

    where "default.asp" is the file you want to launch.

    You'll need to put in extra frames for a delay (or embed that within your video).

    Hope that helps ya.
    superman808

  4. #4
    Banned
    Join Date
    Oct 2008
    Posts
    74
    1. Check this tutorial "Redirect to a URL when flash video (FLV) movie finishes playing - Solutions"
    2.
    Code:
    getURL(url, window, variables)
    3. loadmovie() also works.
    4. ActionScript is like this
    Code:
    function redirectPage(url:String)
    {
    getURL(url,"_self")
    }
    var website:String = 'http://www.yoursite.com';
    var flvLength:Number = lengthOfFLV * 1000;
    setTimeout(redirectPage,flvLength,website)
    Last edited by Stephanee; 04-27-2009 at 11:56 PM.

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