Foros del Web » Creando para Internet » HTML »

Error al validar html con un archivo .swf insertado

Estas en el tema de Error al validar html con un archivo .swf insertado en el foro de HTML en Foros del Web. Hola pues eh validado mi documento html en la web http://validator.w3.org/ y pues la verdad todo mi documento esta muy bien Pero con el detalle ...
  #1 (permalink)  
Antiguo 01/10/2004, 16:09
Avatar de orochies  
Fecha de Ingreso: septiembre-2003
Ubicación: Guatemala
Mensajes: 260
Antigüedad: 20 años, 7 meses
Puntos: 2
Error al validar html con un archivo .swf insertado

Hola pues eh validado mi documento html en la web http://validator.w3.org/ y pues la verdad todo mi documento esta muy bien Pero con el detalle que el codigo que inserte de mi pelicula .swf me da los siguientes errores de validacion:

Below are the results of attempting to parse this document with an SGML parser.

1.

Line 30, column 17: there is no attribute "NAME"

<embed name="menu" src="../img/menu.swf" loop="false" menu="false" quality=

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.


2.

Line 30, column 28: there is no attribute "SRC"

<embed name="menu" src="../img/menu.swf" loop="false" menu="false" quality=


3.

Line 30, column 51: there is no attribute "LOOP"

...me="menu" src="../img/menu.swf" loop="false" menu="false" quality="high" wmod


4.

Line 30, column 64: there is no attribute "MENU"

...="../img/menu.swf" loop="false" menu="false" quality="high" wmode="transparen


5.

Line 30, column 80: there is no attribute "QUALITY"

...f" loop="false" menu="false" quality="high" wmode="transparent" bgcolor="#696


6.

Line 30, column 93: there is no attribute "WMODE"

...e" menu="false" quality="high" wmode="transparent" bgcolor="#696969"


7.

Line 30, column 115: there is no attribute "BGCOLOR"

...y="high" wmode="transparent" bgcolor="#696969"


8.

Line 31, column 9: there is no attribute "WIDTH"

width="698" height="27" type="application/x-shockwave-flash" pluginspage="htt


9.

Line 31, column 22: there is no attribute "HEIGHT"

width="698" height="27" type="application/x-shockwave-flash" pluginspage="htt


10.

Line 31, column 32: there is no attribute "TYPE"

width="698" height="27" type="application/x-shockwave-flash" pluginspage="htt


11.

Line 31, column 76: there is no attribute "PLUGINSPAGE"

...ation/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/dow


12.

Line 31, column 163: element "EMBED" undefined

...x.cgi?P1_Prod_Version=ShockwaveFlash">

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).


Ahora bien cual seria la forma correcta de validar este codigo de la pelicula .swf pues la verdad no tengo ni idea...

Espero buestra comprension y ayuda...

_Saludos...
__________________
QMD...
  #2 (permalink)  
Antiguo 01/10/2004, 16:36
 
Fecha de Ingreso: septiembre-2004
Ubicación: Puebla, México
Mensajes: 81
Antigüedad: 19 años, 6 meses
Puntos: 0
El problema es que <embed></embed> no es una etiqueta estandar, pero si la quitamos, navegadores como netscape, mozilla, firefox, etc no puden interpretar correctamente el <object> y el swf no se mostrara. Internet Explorer esta a salvo sin la etiqueta <embed>.

Asi que estandar o funcionalidad, tu decides.

En esta pagina se explica el problema y sugiere una solucion, aunque no del todo funcional: http://www.macromedia.com/devnet/mx/...ash_satay.html (en ingles)

Saludos
__________________
Revista DdS
Revista on-line sobre desarrollo de software
  #3 (permalink)  
Antiguo 02/10/2004, 15:24
Avatar de orochies  
Fecha de Ingreso: septiembre-2003
Ubicación: Guatemala
Mensajes: 260
Antigüedad: 20 años, 7 meses
Puntos: 2
Bueno muchas gracias por la aclaracion ya vere que decido entonces...

Muy agradecido...

_Saludos...
__________________
QMD...
  #4 (permalink)  
Antiguo 03/10/2004, 18:11
Avatar de Takitei  
Fecha de Ingreso: septiembre-2004
Ubicación: Venezuela
Mensajes: 1.231
Antigüedad: 19 años, 7 meses
Puntos: 5
http://www.w3schools.com/tags/tag_object.asp y lee un poco al respecto. Verifica que las propiedades que estés usando sean correctas.
__________________
Takitei
Ingeniarte.com
DannyHerran.com
"Dadme un punto de apoyo y moveré la tierra" - Arquímedes.
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 14:22.