PDA

View Full Version : Flash validation on XHTML Transitional DTD page


Aram Ghazanchyan
Jul 23, 2007, 11:38
The code to insert flash object is created Dreamweaver:

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="250" height="250" title="e">
<param name="movie" value="travelam.swf" />
<param name="quality" value="high" />
<embed src="travelam.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="250" height="250"></embed>
</object>

It's not passing validation at http://validator.w3.org/
And all my sites with flash with <embed> element is not approved by W3C. What tag I can use instead of it?

Gor Vardanyan
Jul 23, 2007, 14:10
Nevnimatelni kakoi :)
http://www.theitarticles.com/flash-satay-embedding-flash-while-supporting-standards/164/

ili vot primer v realnom site
http://leplastique.com/

Avetis Avagyan
Jul 24, 2007, 03:11
To me the best option is to put it in JS file and to call this JS file in XHTML-valid way:
<script type="text/javascript" src="js/filename.js"></script>

This solves the problem and adds no garbage to your XHTML code.

Aram Ghazanchyan
Jul 24, 2007, 04:36
Problema opyat' taki ostaetsyq nasushnoy, t.k. instrument cherez kotory pozvolyaet visualno redaktirovat' content, tak nazyvaemy HTMLArea, vse ravno vozvrashaet code s <embed>
Vsem spasibo!