How to Check for Flash Plugin?

I have a simple flash/shockwave animation. I was wondering what the code is that allows me to check the user first for the plugin, and redirects them or tells them that they need to download the plugin if they don't have it. And if they do have it, the code will allow the user to load the page.

I have a simple flash/shockwave animation. I was wondering what the code is that allows me to check the user first for the plugin, and redirects them or tells them that they need to download the plugin if they don't have it. And if they do have it, the code will allow the user to load the page.

Any help is much appreciated.

Thank you!!

Click to expand...

Flash is included in all modern web browsers (and has been since at least 1998, by my recollection,) so don't worry about it.

And even if they don't, all modern web browsers will offer to find the plugin if they don't have it. So don't worry about it.

And if they have an old enough (or obscure enough) web browser to not support Flash, then it doesn't matter anyway, so don't worry about it. :-D

But then you can have alternative code (where I've put the image) for those who don't hav flash or don't want flash contents showing (like me, who uses Safari with plug-in support disable and Adblock with Firefox).

MacRumors attracts a broad audience
of both consumers and professionals interested in
the latest technologies and products. We also boast an active community focused on
purchasing decisions and technical aspects of the iPhone, iPod, iPad, and Mac platforms.