I've had a number of people ask me the same question and I thought I might share this with everybody. It concerns embeding Flash SWF files in your HTML documents.
There are a number of ways you can do this and most people are used to doing it the
Macromedia Adobe way. However, this is not the best way to do it and it is not a standard approved by the W3C (http;//www.w3.org) which states that
<EMBED> is bad... mmmmmk.
There exists a very nice method created by Geoff Stearns which enables users to embed SWF files in HTML called
SWFObject.
As it says on their page:
QUOTE
The script can detect the Flash plug-in in all major web browsers (on Mac and PC) and is designed to make embedding Flash movies as easy as possible. It is also very search engine friendly, degrades gracefully, can be used in valid HTML and XHTML 1.0 documents*, and is forward compatible, so it should work for years to come.
SWFObject is very easy to use and gives you some options like easily sending variables to your flash movies, creating full window sites and has Flash detection... and is W3C friendly.
Share your experiences or post problems here.