It's not the code you need directly .. but I think you can use this:
http://www.quirksmode.org/js/flash.html
It's a javascript that detects wheter flash is installed.
Hope it helps to solve your problem!
Grtz,
Koen
edit:
found this on google (a no JavaScript approach):
Quote:
Try putting your Flash in a 1-cell table. In your CSS, create a style to set the background of the cell to your default image. In your HTML, add your Flash object tag.
If the user has Flash installed, you see your Flash media. If the user has an old version of Flash, you see the image until the new player is downloaded. If they have no Flash and plugins disabled, they only see the image.
|