In Website Design

The standard method for embedding a flash file onto your web page using a HTML editor, such as Dreamweaver, is usually as follow:

<script type=”text/javascript”>

AC_FL_RunContent( ‘codebase’,’http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0?,’width’,’990?,’height’,’276?,’title’,’Flash Example’,’src’,’file:///C|/Users/harty/Documents/Websites/Cheap Web Design/images/banners/index-offers’,’quality’,’high’,’pluginspage’,’http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash’,’movie’,’file:///C|/Users/harty/Documents/Websites/Cheap Web Design/images/banners/index-offers’ ); //end AC code

</script><noscript><object classid=”clsid:D27CDB6E-AE6D-11cf-96B8-444553540000? codebase=”http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0? width=”990? height=”276? title=”Flash Example”>

<param name=”movie” value=”file:///C|/Users/harty/Documents/Websites/Cheap Web Design/images/banners/index-offers.swf” />

<param name=”quality” value=”high” />

<embed src=”file:///C|/Users/harty/Documents/Websites/Cheap Web Design/images/banners/index-offers.swf” quality=”high” pluginspage=”http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash” type=”application/x-shockwave-flash” width=”990? height=”276?></embed>

</object></noscript>

By using this standard method, your flash will work absoluely perfect BUT it wont meet the standards of W3C! When you come to validate your website I’m afraid it wont be compliant due to disagreements with the plugin method above. Dont panic… we have a solution!

Flash Solution

Replace the code above for the following code:

<object type=”application/x-shockwave-flash” data=”/file.swf” width=”142? height=”91?>

 

<param name=”movie” value=”/file.swf” /></object>

This plugin method is fully compliant with W3C standards, as well as a lot simpler and lighter in terms of coding space.

Recent Posts
Contact Us

We're not around right now. But you can send us an email and we'll get back to you, asap.

Start typing and press Enter to search