You can use SWFobject
An alternative code is displayed in the SWF object by default, for example
<div id="myContent"> <p>Alternative content</p> </div>
This place is then replaced whenever possible using flash content as follows:
<script type="text/javascript"> swfobject.embedSWF("myContent.swf", "myContent", "300", "120", "9.0.0"); </script>
It has a dependency on JavaScript, although this is the only major flaw
source share