Foros del Web » Creando para Internet » HTML »

Insertar Flash

Estas en el tema de Insertar Flash en el foro de HTML en Foros del Web. Hola Tengo una web en la que incluyo una animación flash y resulta que con IE no se visualiza He tratado de validarla con W3 ...
  #1 (permalink)  
Antiguo 11/10/2006, 01:57
 
Fecha de Ingreso: septiembre-2006
Mensajes: 233
Antigüedad: 18 años, 1 mes
Puntos: 0
Insertar Flash

Hola

Tengo una web en la que incluyo una animación flash y resulta que con IE no se visualiza
He tratado de validarla con W3 validator y me saca todos estos errores:(

# Error Line 118 column 13: there is no attribute "src".


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 (permalink)  
Antiguo 11/10/2006, 02:00
 
Fecha de Ingreso: septiembre-2006
Mensajes: 233
Antigüedad: 18 años, 1 mes
Puntos: 0
Cita:
Iniciado por trhipahx Ver Mensaje
Hola

Tengo una web en la que incluyo una animación flash y resulta que con IE no se visualiza
He tratado de validarla con W3 validator y me saca todos estos errores:(

# Error Line 118 column 13: there is no attribute "src".

embed src="fotos/portada.swf" quality="high"


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.
  #3 (permalink)  
Antiguo 11/10/2006, 07:40
Avatar de Stephano  
Fecha de Ingreso: junio-2005
Ubicación: Arequipa
Mensajes: 392
Antigüedad: 19 años, 5 meses
Puntos: 3
el código para insertar flash es este:

Código HTML:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="260" height="150">
  <param name="movie" value="flash/objeto.swf">
  <param name="quality" value="high">
  <embed src="flash/objeto.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="260" height="150"></embed>
</object> 
__________________
www.percyweb.com - mi Blog
  #4 (permalink)  
Antiguo 11/10/2006, 09:31
 
Fecha de Ingreso: septiembre-2006
Mensajes: 233
Antigüedad: 18 años, 1 mes
Puntos: 0
He insertado el código tal y como me dices y me da unos cuantos errores:

# Error Line 118 column 13: there is no attribute "src".


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.


# Error Line 118 column 41: there is no attribute "quality".

..


# Error Line 118 column 60: there is no attribute "pluginspage".



# Error Line 118 column 111: there is no attribute "type".

.


# Error Line 118 column 149: there is no attribute "width".

...application/x-shockwave-flash" width="340" height="300" wmode="transparent"><


# Error Line 118 column 162: there is no attribute "height".


# Error Line 118 column 174: there is no attribute "wmode".

.

# Error Line 118 column 187: element "embed" undefined.

..

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),
* by using vendor proprietary extensions such as "<spacer>" or "<marquee>" (this is usually fixed by using CSS to achieve the desired effect instead).
* by using upper-case tags in XHTML (in XHTML attributes and elements must be all lower-case.
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 06:02.