Ver Mensaje Individual
  #1 (permalink)  
Antiguo 12/03/2008, 13:09
Avatar de Jowy
Jowy
 
Fecha de Ingreso: febrero-2007
Ubicación: En la red
Mensajes: 232
Antigüedad: 17 años, 2 meses
Puntos: 0
Problemas embebiendo un swf AS3 con dreamweaver

Hola, llevo todo el día intentando embeber un swf hecho con AS3 en un html con Dreamweaver (insert>media) y no se que estoy haciendo mal pero no puedo!!!
He intentado tanto con AC_RunActiveContent. como con SWFObject.

Lo extraño es que si publico el html directamente desde flash si que funciona!!! Luego he probado a copiar-pegar el codigo que me crea flash y tampoco...

¿Hay algún parámetro que deba tener en cuenta?

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>
<title>MI web</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="js/swfobject.js"></script>
<script src="js/AC_RunActiveContent.js" type="text/javascript"></script>
<link href="css/main.css" rel="stylesheet" type="text/css" />

<style type="text/css">
<!--


#patrocinadores {
	float:left;
	width: 585px;
	height:150px;
	margin-top:8px ;
	background-image:url(img/flashmain_bg.png);
}

-->
</style>

</head>

<body leftmargin="0">
     <div id="wrapper"></div>
     <div id="header"></div>
     <div id="patrocinadores">Caroussel</div>
     <div id="paddock"></div>   
     <div id="footer"></div>

     <script type="text/javascript">
      var so = new SWFObject("flash/caroussel/carousel.swf", "carousel", "99%", "99%", "9");
      so.addParam("quality", "high");
      so.addParam("scale", "noscale");
      so.write("patrocinadores");
      </script>
</body>
</html>

Última edición por Jowy; 12/03/2008 a las 13:22