Below you should be able to see either the Flash object, or its alternative.
This is the Flash alternative.
First you need to create your webpage with the Flash alternative wrapped in a simple <div>. This needs to have a unique ID so its contents can be replaced later...
<p>This is the Flash alternative.</p>
Next, you need to download my script.js and flashReplace.js files, then create an additional configuration file like flashExample.js (explained later) and include them all in the pages <head>, like so:
Then in your configuration file (flashExample.js), you need to change the general setup:
Still in the configuration file, the addFlashObject line needs to be updated... it is possible to copy this line multiple times, but for each one, the order of the parameters is:
If you want to have links to enable or disable the Flash on your website, create an element with an id of 'flashDisableLinks', like so:
The background colour is typically specified as 'transparent', but it is perfectly valid to use a hexadecimal colour like '#F00'.
The elements which make up the Flash alternative are not actually deleted from the DOM, instead its off-screened with CSS, so it is possible to use it in the print style sheet.
If use the flash detection object (which has issues in Flash 10), you can also download its source code.