Ver Mensaje Individual
  #1 (permalink)  
Antiguo 27/09/2006, 02:04
Avatar de Ascariz
Ascariz
 
Fecha de Ingreso: noviembre-2005
Mensajes: 403
Antigüedad: 18 años, 5 meses
Puntos: 0
Pregunta Como se puede hacer

Hola a todos

Estoy intentado hacer que no tengas que pinchar en el flash para que se active, pero si le paso datos con un XML no funciona, por que puede ser ???

codigo original
Código HTML:
<script type="text/javascript" src="flashobject.js"></script>
<div id="flashcontent">
<embed src="111.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="700" height="400" loop="false" scale="exactfit"></embed>
</div>
<script type="text/javascript">
var mymovie = new FlashObject("111.swf", "pelicula", "700", "400", "7", "");
mymovie.addParam("menu", "false");
mymovie.write("flashcontent");
</script> 
el que intento cargar con XML es

Código HTML:
<div id="flashcontent">
<embed src="Charts/FC_2_3_Pie3D.swf&dataURL=Data2.xml&chartWidth=700&chartHeight=350" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="700" height="400" loop="false" scale="exactfit"></embed>
</div>
<script type="text/javascript">
var mymovie = new FlashObject("Charts/FC_2_3_Pie3D.swf&dataURL=Data2.xml&chartWidth=700&chartHeight=350", "pelicula", "700", "400", "7", "");
mymovie.addParam("menu", "false");
mymovie.write("flashcontent");
</script> 
__________________
Desarrollador & Diseñador Web
Diseño de paginas web en Madrid