Geoff Stearns at deconcept has published an article on
Web
Standards-compliant Flash Detection using JavaScript. He provides a nice summary of the issues you can run into
when you embed a Flash object into a page, and provides the source code for a JavaScript library that embeds Flash
objects and handles all of the cross-browser issues.
The library also lets you provide alternate text to be displayed when a user has Flash disabled (or hasn't installed
the plug-in at all.) It also ensures that the resulting page validates as XHTML.







