Flash inclusion revisited
Tuesday, February 6th, 2007A new article on A List Apart by Bobby van der Sluis, called “Flash Embedding Cage Match”, offers a rundown of the options available for including Flash content in a webpage.
It refers to Geoff Stearns’ SWFObject script (my tool of choice), and compares it to Unobtrusive Flash Objects (UFO), which is by the author himself.
Now obviously the implicit message is “my technique is the best, use it”, but he does seem to have a point. UFO’s main advantage is that you can insert your JavaScript before the element that you want to replace with Flash content. SWFObject requires you write the code after it on the page, so you can’t squirrel away your Flash enhancements in a linked JS file. I always thought that was a bit nasty.
I’ll explore UFO more thoroughly before I choose a method for Refresh.