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>
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>