[thelist] Possible to validate HTML with Flash?

Paul Peterson paul at thereformist.com
Thu Nov 1 14:06:36 CST 2001


Howdy, evolters.

I am constructing a page in HTML 4.01 Transitional which includes a SWF
file. I am using both the OBJECT and EMBED tags to enable the animation in
IE and Netscape. However, when I use the W3C Validator, I get the error
message saying that the EMBED element is "not defined in this version".

Is it possible to validate pages with Flash, and still get them to work
cross-platform? If so, how?

Below is my code (wrapped for legibility)...

---------------------------------------------
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
   codebase="http://download.macromedia.com/pub/shockwave/cabs/
   flash/swflash.cab#version=5,0,0,0" width="350" height="100"
   name="animation">
<param name="MOVIE" value="animation.swf">
<param name="PLAY" value="true">
<param name="LOOP" value="true">
<param name="QUALITY" value="autohigh">

   <embed src=animation.swf width=350 height=100
     pluginspace=http://www.macromedia.com/shockwave/download/
     index.cgi?P1_Prod_Version=ShockwaveFlash name=animation
     play=true loop=true quality=autohigh>
   </embed>

</object>
---------------------------------------------

TIA,
Paul






More information about the thelist mailing list