Tengo 2 swf (iguales) para cargar en un index.html (oferta1.swf y oferta2.swf), cada uno con su xml:
Cita:
Pero solo se me carga el segundo. <div id="menu2"><div id="title_container">
<div id="title_oferta2">
<div id="flashcontent2"></div>
<script type="text/javascript">
var so = new SWFObject("oferta2.swf?xmlFilePath=xml/2.xml", "preview", "270", "73", "2");
so.addParam("quality", "high");
so.addParam("menu", "false");
so.addParam("loop", "false");
so.addParam("scale", "noscale");
so.addParam("allowFullScreen", "true");
so.write("flashcontent");
</script>
</div>
<div id="title_oferta1">
<div id="flashcontent"></div>
<script type="text/javascript">
var so = new SWFObject("oferta1.swf?xmlFilePath=xml/1.xml", "preview", "270", "73", "2");
so.addParam("quality", "high");
so.addParam("menu", "false");
so.addParam("loop", "false");
so.addParam("scale", "noscale");
so.addParam("allowFullScreen", "true");
so.write("flashcontent");
</script>
</div>
</div>
<div id="title_oferta2">
<div id="flashcontent2"></div>
<script type="text/javascript">
var so = new SWFObject("oferta2.swf?xmlFilePath=xml/2.xml", "preview", "270", "73", "2");
so.addParam("quality", "high");
so.addParam("menu", "false");
so.addParam("loop", "false");
so.addParam("scale", "noscale");
so.addParam("allowFullScreen", "true");
so.write("flashcontent");
</script>
</div>
<div id="title_oferta1">
<div id="flashcontent"></div>
<script type="text/javascript">
var so = new SWFObject("oferta1.swf?xmlFilePath=xml/1.xml", "preview", "270", "73", "2");
so.addParam("quality", "high");
so.addParam("menu", "false");
so.addParam("loop", "false");
so.addParam("scale", "noscale");
so.addParam("allowFullScreen", "true");
so.write("flashcontent");
</script>
</div>
</div>
Porqué ocurre?O es que no se pueden cargar 2 a la vez?
Muchas gracias por adelantado!