Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Macromedia detection

Status
Not open for further replies.

JonnyPT

Programmer
Joined
Oct 27, 2004
Messages
21
Location
US
I know that JavaScript can do redirects based on browsers and such, but can JavaScript or any other language for that matter do a redirect based on whether the client has Macromedia Flash installed?
i want to make it so that if they have flash, it will be directed to a flash page, if they don't have flash, i'm going to redirect to a page with a link to download flash or a link to view the text/html version

 
Yep, there are a thousand and one flash detection scripts out there


Pick one that suits your needs and use it to set a boolean variable. Then use the value of that variable to perform your redirect.

Never be afraid to share your dreams with the world.
There's nothing the world loves more than the taste of really sweet dreams.
 
SO basically i need to write a VBscript and a JavaScript and include one of them based on what browser they are using, then redirect based on the outcome of that, CONFUSING!
o well, thanks for your help
if anyone has done this, or has a good idea on it i would appreciate a script, otherwise i'll get on learning JavaScript and VBscript

THANKS
 
If you follow the links from the search I provided, most of them include the code that you're after.

I haven't used any myself... I don't do any work with flash... so I can't vouch for one over the other.

Never be afraid to share your dreams with the world.
There's nothing the world loves more than the taste of really sweet dreams.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top