Alternative "code" if no flash available, not alternative page. Anyone know?

Hi all I know there is detect for flash stuff out there, but is there a method that can be applied, where if no flash available, then alternative code is put in its place, this of course could have maybe some ASP code included that would take data from the database.

But the main focus is being able to place code (html) in its place. This would be a fantastic step if anyone knows of such a thing.

An example of this would be the noscript tags that can be included, these displaying alternative, if javascript not available. There must be a method out there?

Cheers, any tips, related links would be great.