wsg  

Re: [WSG] Validating Flash

Andrew Freedman
Wed, 26 Mar 2008 23:18:33 -0700

Tim MacKay provided the following information on 27/03/2008 4:37 PM:

Hi List,

My question is about embedding Flash on html pages (just certain elements -- not talking about full flash sites). I always get errors from HTML Tidy and the validator about the object and embed tags, which wrecks my validated markup. What is the standards-compliant way to embed Flash elements so that my site validates and stops throwing errors?

Thanks,

Tim



Hi Tim,

I always use the following code and my pages always validate.
Is it standards compliant? Someone can answer that for me perhaps...

Andrew


<script type="text/javascript">
AC_FL_RunContent( 
'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','width','180','height','185','title','Wonderful','src','swf/my_wonderful','quality','high','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','swf/index_testimonial'
 ); //end AC code
</script>

<noscript>
<object type="application/x-shockwave-flash" data="swf/my_wonderful.swf" width="100" 
height="100">
 <param name="movie" value="swf/my_wonderful.swf" />
 <param name="quality" value="high" />
</object>
</noscript>






*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************