Problem solved, my difficulty is now being tried to pass parameters function onLoad () ( urlSwf var = "http://joaocarlos.com.br/reliase/aplicativo_1.swf"; var flashDiv = document.getElementById ( 'flashDiv');
var = (swfParams allowFullScreen: true ); gadgets.flash.embedFlash (urlSwf, flashDiv, 9, swfParams) ); gadgets.util.registerOnLoadHandler (onLoad); </ script> <div id="flashDiv"> </ div> </ Script> swfParams and is generating an error can someone help? On 25 mar, 08:30, João <dancadesala...@hotmail.com> wrote: > Hello to all! I am finding dificiuldade to embed a swf in a gadget, I > tried without success with SWFObject > > <?xml version="1.0" encoding="UTF-8" ?> > <Module> > <ModulePrefs title="Aplicativo 1"> > <Require feature="opensocial-0.8" /> > <Require feature="flash" /> > </ModulePrefs> > <Content type="html"> > > <![CDATA[ > <script type="text/javascript" src="../swfobject/swfobject.js"></ > script> > <script type="text/javascript" src="../swffit.js"></script> > <script type="text/javascript"> > var swfParams = { > allowFullScreen: true > }; > swfobject.embedSWF('http://joaocarlos.com.br/reliase/ > aplicativo_1.swf','site', '600','500', '10.0.0', 'swfobject/ > expressInstall.swf' ,null, swfParams); > swffit.fit("http://joaocarlos.com.br/reliase/ > aplicativo_1.swf",'600', '500'); > swffit.fit("site") > </script>>]]> > <div id="site"> > <h1> > <font size='5'>Não foi encontrado o plugin nessesário para > execução deste site, Necessário instalar o Flash Player. > <a href="http://get.adobe.com/br/flashplayer">Deseja > instalar o plugin agora Visite a pagina da adobe</a> > </font> > </h1> > </div>--> > </Content> > </Module> > > Gadgets.flash.embedFlash also tried without success > > <?xml version="1.0" encoding="UTF-8" ?> > <Module> > <ModulePrefs title="Aplicativo 1"> > <Require feature="opensocial-0.8" /> > <Require feature="flash" /> > </ModulePrefs> > <Content type="html"> > <![CDATA[<script type="application/javascript"> > function onLoad() { > var flashDiv = document.getElementById('flashDiv'); > gadgets.flash.embedFlash("http://joaocarlos.com.br/reliase/ > aplicativo_1.swf", flashDiv, 10) > }; > gadgets.util.registerOnLoadHandler(onLoad); > </script> > <div id="flashDiv"></div>]]> > </Content> > </Module> > > need help please, I thank you. -- You received this message because you are subscribed to the Google Groups "Orkut Developer Forum" group. To post to this group, send email to opensocial-or...@googlegroups.com. To unsubscribe from this group, send email to opensocial-orkut+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/opensocial-orkut?hl=en.