Make your Flash HTML Standards Compliant
I initially found that the latest issue of A List Apart was published via web-graphics.com and then got this tidbit from Zeldman:
In Issue 154 of A List Apart, for people who make websites: âFlash Satayâ by Drew McLellan. "This site uses Flash. This site validates as XHTML. They said it couldnât be done. Now it can be. Have your Flash and standards, too." Please note, the ALA server may be slower than normal due to heavy traffic.
The technique involves using the following code:
<object type="application/x-shockwave-flash" data="c.swf?path=movie.swf" width="400" height="300"> <param name="movie" value="c.swf?path=movie.swf" /> <img src="noflash.gif" width="200" height="100" alt="" /> </object>
Where c.swf
is a container movie to workaround the fact that IE/Windows doesnât stream the movie with this code.
Drew McLellan is the author of Dreamweaver MX Web Development and a member of The Web Standards Projectâs Dreamweaver Task Force. You can follow the progress of this technique on his site.
WebGraphics also has an interesting post with a list of reasons why ease of use doesn't happen on engineering projects - uiweb.com