Skip navigation

whenever i make HTML page, i force my self to write those pages into a valid pages according to W3C standardization. in order to do so, i often check the pages i created in FireFox using HTML tidy plug-in. it will warn you if your HTML not valid.

one thing that was a challenge was flash embedded script. if you using the default flash script from dreamweaver, HTML tidy will warn you that it’s not valid. i forgot why it was not valid (i’ll try to look into it later and update in this post).

any way, then i start to looked the solution. several method come across but none of them works. then i found this blog (i forgot the address too, update later) giving detail explanation on why the default flash script is not valid, and that article give the valid script and it goes like this:

<object classid=”(long number here)”
codebase=”http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0&#8243;
width=”(width)” height=”(height)”>
<param name=”movie” value”(your flash file here)”>
<param name=”quality” value=”high”>

<param name=”bgcolor” value=”#FFFFFF”>
<!–[if !IE]> <–>
<object data=”(your flash file here)”
width=”(width)” height=”(height)” type=”application/x-shockwave-flash”>
<param name=”quality” value=”high”>
<param name=”bgcolor” value=”#FFFFFF”>
<param name=”pluginurl” value”http://www.macromedia/go/getflashplayer”&gt;
FAIL (the browser should render some flash content, not this).
</object>
<!–> <![endif]–>
</object>

now it should work when you try to validate it on W3C, go on give it a spin 🙂

One Trackback/Pingback

  1. By Bookmarks about W3c on 22 Jan 2009 at 3:30 am

    […] – bookmarked by 1 members originally found by innerdemon20 on 2008-12-30 Flash script validation on W3C https://webbyphyxias.wordpress.com/2008/08/12/flash-script-validation-on-w3c/ – bookmarked by 3 […]

Leave a comment