A friend and colleague of mine Carl Yestrau just released a few Javascript Flash utilities. Check them out and let him know what you think. “I am happy to share with the Flash community a series of JavaScript Flash utilities. All are freely available under the BSD license. A detailed set of supporting documentation is available online.

JavaScript Flash Detection Library (Flash Detect)
A JavaScript library designed to simplify the process of detecting if the Flash Player is installed in a Web Browser. Major, minor and revision version information is made available in the API.

JavaScript Flash HTML Generator Library (Flash TML)
A JavaScript library designed to simplify the process of generating the required HTML for adding a Flash movie to a web document. Follows a standards compliant approach to markup generation using the object element.

I hope these libraries serve you well!”