The first one is used to redirect the user after an express install. The second one is used to redirect the user if the flash version is not the right version needed for the your swf.
Thanks for getting back but I want to redirect them to the flash version if they have the correct version installed. ie as opposed to redering the flash div it redirects the user to a page with the flash content on it? I am not using the express install.
I have the non flash version on the page mainly for search engines to index everything, so I have a number of pages eg products.html, collections.html etc etc so if a user comes to the site from google as it stands the flash version is shown if detected but the url in the address bar is still www.mysite.com/products.html or whatever page google directed them to. I was wanting to through them back to the base url if they had flash. The site does not have flash versions of every page, only one flash all encompassing version with all pages inside it and all the individual html pages.
If there is a better way of doing this then please let me know.
HI! I have the same issue and what I did was. my first page has a small flash movie that has two things.
Low bandwidth and High bandwidth. This gives the user a choice of either entering into the FLash Version or the Non-Flash version.
I use the detection process to detect on the small flash movie to know if the user has flash or if the version is lower than the content that I have created. If the version is lower then I bring to a page to upgrade if Flash is NOT Detected then I bring them to a page to install it.
There is a bit more that I have done such as what if the user does not have javascript turned ON? well that is handled once again to prevent them from entering into the site without going through the detect proccess.
There is a few things to consider in my opinon. But this depends on how far you want to go on Error Handling.
If you want to check out what I did just visit my site at www.webcandesign.com ( only bandwidth is corrected) and if you have any questions or suggestions or if you find any errors let me know. :)