2 Replies Latest reply on Apr 19, 2006 1:30 PM by Newsgroup_User

    Reliable redirect script

    ehaemmerle Level 1
      Can anyone provide me a reliable redirection script? I have read so many tutorials and articles my head is spinning. All of them seem to contradict or be outdated. The bottom line is I have a page that has some Flash 7 content. If they have Flash 7 or higher installed then just display the page, if they don't, then redirect to our older plain vanilla HTML site. That's it. I don't really care about people with JavaScript disabled so it doesn't need to be fancy. Flash 7 or higher, stay, Flash 6 or lower or no Flash at all, plain vanilla site.

      THANKS!!!!
        • 1. Reliable redirect script
          sdalbert
          What I would believe to be the best option for you is outlined here.

          What you will generally end up with is one HTML page with two "elements," if you will. The first "element" is a single Flash movie that does only one thing: sending the browser to the URL of the Flash-enabled Web page. The second "element" is a standard HTML META tag page refresher that redirects to the non-Flash-enabled Web page.

          Basically, if the Flash movie loads within the page, this means the browser has installed the minimum (or higher) version of the Flash Player you selected in the Publish Settings and the page will almost immediately redirect the browser to the Flash-enabled page. If the Flash movie does not load, this means that the minimum version of the Flash Player is not installed and the META tag will redirect the browser (in the specified number of seconds) to the non-Flash-enabled page.
          • 2. Re: Reliable redirect script
            Level 7
            ehaemmerle,

            > If the Flash movie does not load, this means that the minimum
            > version of the Flash Player is not installed and the META tag
            > will redirect the browser (within the specified number of
            > seconds) to the non-Flash-enabled page.

            Check out FlashObject or UFO. Both of these detect Flash versions. If
            the user has Flash available, the Flash content is show, otherwise default
            HTML content is presented. You could put a <meta> refresh to forward to
            another site (your "plain vanilla" site) or use JavaScript to do the same.

            http://blog.deconcept.com/flashobject/
            http://www.bobbyvandersluis.com/ufo/


            David
            stiller (at) quip (dot) net
            Dev essays: http://www.quip.net/blog/
            "Luck is the residue of good design."