01 February 2006

Valid Flash XHTML script

Embedding flash movie (.swf) into XHTML cannot be valid by using the conventional embedding script. Here's one the valid way written by Daniel Duris.
<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" />
</object>

Keep flashing and being valid XHTML.

1 comment: