Sorry, this post is old, the scripts are no longer here, and there is now a better way to embed Flash. It is called swfobject. Please go there and consider the information on this page obsolete, although it was cool at the time 😉
This example shows how Flash content should be embedded in a web page in a way that promotes accessibility as well as searchability.
Invisible jump code
First off there is an invisible image above the Flash movie that allows users of text readers to skip straight to the content. If you have relevant text content in your ”flashcontent”-div (see below) this may not be necessary.
There is an ordinary div with an id of ”flashcontent” with html code for an ordinary image. The content in this div is replaced with the Flash movie if the user has the required version of Flash.
External XML File data
Images to be loaded are defined in an XML file. This means that the same Flash can be re-used and updated without Flash coding. When possible, use external data loading with XML; this makes your solution so much more useful.
But that’s another story…
Now, read how you can use this method with FlashObject.
- Thanks to Todd Dominey of What do I know for the Flash slideshow component (modified by me).
I hava also written a Swedish description of FlashObject.
(Special note: If you are using Firefox and can not see the Flash movie, chances are you need to disable Object-tabs in the plug-in known as Adblock.)