WH Internet Blog

Tuesday, 22 January 2008

Validating Flash Files Using the Satay Method

Ever created a Flash file (.swf) and embedded it into your HTML and it fails validation? Most WYSIWYG editors create a lot of unnecessary mark-up that is not needed.

After hours searching the internet for a solution I managed to track down the answer. A lot of sites I visited all pointed toward "The Satay Method". It's fairly straightforward and anyone familiar with Flash should be able to understand it. The link is below:

http://alistapart.com/articles/flashsatay

N.B. One important note. The code at the very end of the article is slightly wrong. There should be a " in the code directly after the following (on the first line):

object type="application/x-shockwave-flash

Don't let that confuse you (as it did to me!!)

No comments: