Comunidad de diseño web y desarrollo en internet online

Diagramación liquida no se realiza con explorer en vista

Citar            
MensajeEscrito el 22 May 2009 09:33 am
Hola,

Tengo un problema con la diagramación líquida, me sale todo ok, lo pruebo en mac con el safari, firefox, y està ok... en windows xp con explorer, firefox, està ok... peroooo lo pruebo en windos vista con explorer y la diagramación liquida no funciona.

Alguien sabe porque?

Gracias de antemano

Por damibjrs

53 de clabLevel



 

firefox
Citar            
MensajeEscrito el 22 May 2009 11:52 pm
Postea el código con que insertas el SWF en el html.

Por elchininet

Claber

3921 de clabLevel

17 tutoriales

Genero:Masculino  

Front-end developer at Booking.com

firefox
Citar            
MensajeEscrito el 25 May 2009 11:15 am

Código :

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>The Art of Events, eventos i convenciones en Barcelona</title>
<link rel="icon" href="imagen.png" type="image/png">
<script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
<style type="text/css"> 
html, body { 
height: 100%; 
margin: 0; 
padding: 0; 
} 
</style>
</head>

<body>
<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','100%','height','100%','src','home','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','home' ); //end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="100%" height="100%">
  <param name="movie" value="home.swf" />
  <param name="quality" value="high" />
  <embed src="home.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="100%" height="100%"></embed>
</object></noscript>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-8731166-1");
pageTracker._trackPageview();
} catch(err) {}</script>

</body>
</html>

Por damibjrs

53 de clabLevel



 

firefox
Citar            
MensajeEscrito el 25 May 2009 10:57 pm
El AC_FL_RunContent fue desplazado en la versión CS4 por una versión modificada del SWFObject ya que este tiene mejor implementación en los navegadores de hoy en dia, aparte de un código más limpio y entendible, utiliza SWFObject y no deberás tener problemas.

Por elchininet

Claber

3921 de clabLevel

17 tutoriales

Genero:Masculino  

Front-end developer at Booking.com

firefox
Citar            
MensajeEscrito el 26 May 2009 08:33 am
Merci, pero el cs4 no lo estoy utilizando aún, miraré como funciona swfobject. Si tengo cualquier duda la posteo.

Gracias!

Por damibjrs

53 de clabLevel



 

firefox
Citar            
MensajeEscrito el 26 May 2009 01:57 pm
Bueno he conseguido arreglaro con el swfobject, en explorer i safari se ve bien pero... en firefox no! se ve el flash pero no el fondo, que es por diagramación liquida i debe ocupar toda la pantalla. Por resultado tengo el fondo blanco cuando debe ser degradado de gris.

El código en html con swfobject es:

Código :

      <html>
   
      <head>
  
      <title> Prueba</title>
      
      <link rel="icon" href="imagen.png" type="image/png">
      
      <script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
      
 
      <script type="text/javascript" src="swfobject.js"></script>
   
      <script type="text/javascript">
   
       swfobject.embedSWF("home.swf", "main", "100%", "100%", "8.0.0");
   
      </script>
   
      </head>
  
      <body>
      
 
      <div id="main">
  
          Prueba
  
      </div>
      

 
      </body>

      </html>



Que hay que añadir para que el fondo haga la diagramación en firefox? Merci

Por damibjrs

53 de clabLevel



 

firefox
Citar            
MensajeEscrito el 26 May 2009 08:23 pm
Postea la función de flash que utilizas para redimensionar el fondo y posteas un link para ver el problema online.

Por elchininet

Claber

3921 de clabLevel

17 tutoriales

Genero:Masculino  

Front-end developer at Booking.com

firefox
Citar            
MensajeEscrito el 27 May 2009 09:55 am
Ok, ya lo he encontrado, he cambiado el código flash para meter el fondo en diagramación liquida, es este:

Código :

Stage.scaleMode = 'noScale'; 
Stage.align = 'TL'; 
redim = new Object(); 
redim.onResize = redimensionar; 
Stage.addListener(redim); 
function redimensionar() { 
   barraSup._width = Stage.width; 
   barraSup._height = Stage.height; 
} 
redimensionar();


Con este código la diagramación liquida funciona en todos los exploradores, con el anterior código (el que sale en el tuto de diagramación liquida aqui en cristalab) no funciona con swfobject y firefox.

Mil gracias!

Por damibjrs

53 de clabLevel



 

firefox
Citar            
MensajeEscrito el 23 Feb 2010 10:33 pm
Hola, podrías subir los ejemplos? el swf y el html, sigo teniendo problemas y no le encuentro la vuelta.

Muchas gracias,

vk

Por vdemkoff

1 de clabLevel



Genero:Femenino  

safari

 

Cristalab BabyBlue v4 + V4 © 2011 Cristalab
Powered by ClabEngines v4, HTML5, love and ponies.