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

Threaded View

  1. #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