Detect flash and provide alternative content

I’ve tried all kinds of different ways to detect flash, and provide alternative content where the viewer doesn’t have or doesn’t want to download flash player. I want the viewer to see alternate static content on the same page if they don’t have flash.

I just can’t seem to find the one definitive answer that works every time!

I tried:

http://www.adobe.com/devnet/flashpla…e_content.html

but this seems to require installation of Adobe AIR which I have no idea what it is!

Can anyone point me in the right direction?