Looks like a good validating Flash-embedding solution for your XHTML pages.
Unobtrusive Flash Objects (UFO) v1.0
UFO is a DOM script that detects and embeds Flash objects. It contains several features and best practice techniques that other scripts currently don’t have. UFO is inspired by Geoff Stearns’ FlashObject.
Found via del.icio.us/popular/