jueves, 2 de septiembre de 2010

Flash fondo transparente o swf transparente

swf con fondo transparente
Solo tenemos que colocar  wmode="transparent" en el tag embed del HTML para lograr la transparencia del fondo del SWF.
  1. <div style="background: url(img/testimage.jpg) no-repeat;">  
  2.  <object height="500" width="500">  
  3.   <embed src="swf/Cairngorm.swf" height="500" width="500" wmode="transparent">  
  4.   </embed>  
  5.  </object>  
  6. </div>  


swf sin fondo trasparente

  1. <div style="background: url(img/testimage.jpg) no-repeat;">  
  2.  <object height="500" width="500">  
  3.   <embed src="swf/Cairngorm.swf" height="500" width="500">  
  4.   </embed>  
  5.  </object>  
  6. </div>  

No hay comentarios.:

Publicar un comentario