Valid Flash description (SWF file exported from FLA file format)

This page show an example how make your Flash pages validate to comply with webstandards. This code for Flash (SWF) validates in compliance with web standards set by W3C. This code can be used in XHTML 1.0 Strict and is 100% valid. It degrades to GIF image if Flash plugin is not available and HTML + CSS stays valid.

When using Flash Satay method, you will have to use container movie to make your XHTML and CSS pages validate with webstandards. In this example no container Flash movie is needed and XHTML 1.0 Strict page stays valid and complies with web standards as set by W3C.

This code has been tested and works in Internet Explorer 5.01, 5.5, 6.0, Mozilla, Mozilla Firefox (former Mozilla Firebird), Opera and Konqueror and is fully XHTML Strict valid. No <embed> tags needed.

Valid Flash example for XHTML 1.0 Strict (XHTML 1.1)

<object type="application/x-shockwave-flash" data="images/banner.swf" width="288" height="128">
<param name="movie" value="images/banner.swf" />
<img src="banner.gif" width="288" height="128" alt="banner" />

Validating Flash / SWF + XHTML / CSS Author

Daniel Duris - dusoft [at] staznosti [dot] sk
(just change [at] for @ and [dot] for . )

Other web standards compliant valid Flash examples:

Emedding Flash via Javascript (not working with JS disabled!)
Flash that validates in similar way to my solution
HTML 4.0 Strict Flash that validates
Discussion about Flash and W3C

Other recommended links:

Powered by: Absolut Engine content management system (produces valid XHTML 1.0 Strict, SEO, cool uris/clean URLs)
Pizza SEO - Search Engine Optimization Services
My blog on webstandards in Slovak: