oops - no browser problem - I'm sorry, too fast copied (%&*#)... when I'm using your http://www.wisc-online.com/prototypes/googleGagetsTest/new14.xml I got the SAME: clicking on the top activates the flash (cs3 reports: "instart game2 0").
* when I embed the flash into a html-page I got the same...have to click first... do you have a test-html-page with correct behaviour? best regards horiworld On 11 Mai, 19:40, Josh <[email protected]> wrote: > Im embeding flash into a google gaget and its not enabling the flash > when it loads. I have to select the top banner to enable the flash. > How do i get the flash to automatically be enabled when it loads? > > http://www.Wisc-online.com/prototypes/googleGagetsTest/new14.xml > > My code > > <?xml version="1.0" encoding="UTF-8" ?> > <Module> > <ModulePrefs title="Hang 6" height="300"> > <Require feature="flash" /> > </ModulePrefs> > <Content type="html"> > <![CDATA[ > > <style type="text/css"> > input.mybutton > { > background-color:#FFCC99; > border-style:solid; > border-color:#000000; > font-family:Comic Sans MS,sans-serif; > font-size:14px; > } > </style> > > <div id="flashcontainer" style="text-align: center;"></div> > > <script type="text/javascript"> > > function doTrick() { > // Play .swf file for specified trick. > > // The URL for the .swf file that shows the specified trick. > var url = "http://www.Wisc-online.com/prototypes/googleGagetsTest/ > hang.swf"; > > // Play .swf file. > gadgets.flash.embedFlash(url, "flashcontainer", { > swf_version: 8, > id: "flashid", > width: 300, > height: 300 > }) > > } > > // When gadget first loads, display still photo. > gadgets.util.registerOnLoadHandler(doTrick); > </script> > <br /> > > ]]> > </Content> > </Module> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "iGoogle Developer Forum" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Gadgets-API?hl=en -~----------~----~----~----~------~----~------~--~---
