Compatibilizar código flash de dreamweaver con los estandares W3C

10/10/2004 - 06:24 por Scour | Informe spam
Muy buenas, estoy intentando hacer que mis páginas cumplan los estandares de
la W3C, y ya he conseguido quitar todos los errores salvo 6. Concretamente
esos 6 errores son referentes al código que pone dreamweaver al meter un
archivo flash en una web. Incluso he usado el programa tidy que te limpia el
código automáticamente y no me ha modificado este código, pero el validator
de la W3C me sigue arrojando estos 6 errores.

El código que mete dreamweaver para insertar flash es este:

-
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/...swflash.ca
b#version=6,0,29,0" width="120" height="120">
<param name="movie" value="images2/Clocks12.swf">
<param name="quality" value="high">
<embed src="images2/Clocks12.swf" quality="high"
pluginspage="http://www.macromedia.com/go/getflashplayer"
type="application/x-shockwave-flash" width="120"
height="120"></embed></object>
-

Y los errores que me da el validator de la W3C son estos:

-
1.. Line 73, column 56: there is no attribute "QUALITY"

...d src="images2/Clocks12.swf" quality="high"
pluginspage="http://www.macromedi

?

2.. Line 73, column 75: there is no attribute "PLUGINSPAGE"

...ks12.swf" quality="high"
pluginspage="http://www.macromedia.com/go/getflashpl

?

3.. Line 73, column 126: there is no attribute "TYPE"

...cromedia.com/go/getflashplayer" type="application/x-shockwave-flash"
width="1

?

4.. Line 73, column 164: there is no attribute "WIDTH"

...application/x-shockwave-flash" width="120"
height="120"></embed></object>

?

5.. Line 73, column 177: there is no attribute "HEIGHT"

...-shockwave-flash" width="120" height="120"></embed></object>

?

6.. Line 73, column 182: element "EMBED" undefined

...kwave-flash" width="120" height="120"></embed></object>

You have used the element named above in your document, but the document
type you are using does not define an element of that name. This error is
often caused by incorrect use of the "Strict" document type with a document
that uses frames (e.g. you must use the "Frameset" document type to get the
"<frameset>" element), or by using vendor proprietary extensions such as
"<spacer>" or "<marquee>" (this is usually fixed by using CSS to achieve the
desired effect instead).


-

¿Cómo puedo solucionarlo?

Un saludo y Gracias.
 

Leer las respuestas

#1 Scour
10/10/2004 - 06:30 | Informe spam
Se me olvidaba otro error más, así que son 7 errores los que me da, y este
es el error que más me desconcierta...

-
Line 73, column 25: there is no attribute "SRC"

<embed src="images2/Clocks12.swf" quality="high" pluginspage="http

You have used the attribute named above in your document, but the document
type you are using does not support that attribute for this element. This
error is often caused by incorrect use of the "Strict" document type with a
document that uses frames (e.g. you must use the "Transitional" document
type to get the "target" attribute), or by using vendor proprietary
extensions such as "marginheight" (this is usually fixed by using CSS to
achieve the desired effect instead).

This error may also result if the element itself is not supported in the
document type you are using, as an undefined element will have no supported
attributes; in this case, see the element-undefined error message for
further information.

How to fix: check the spelling and case of the element and attribute,
(Remember XHTML is all lower-case) and/or check that they are both allowed
in the chosen document type, and/or use CSS instead of this attribute.

-

Gracias nuevamente.

Preguntas similares