Thanks for the post. the solution makes sense, but how about the _IG_EmbedCachedFlash method? any suggestions for an alternative of that?
On Dec 4, 4:11 am, Yann LN <[email protected]> wrote: > Hi, > > My problem comes from the _IG_EmbedFlash which does not support the > browser's compatibility anymore. > If you use it, IE won't find the right tag to display the movie clip. > > I trade the _IG_EmbedFlash for a code like : > > /* CODE /////////////////////////////////////////////// > > <div id="target_div" style="text-align: > center;"></div> > <script type="text/javascript"> > function affiche(){ > var contentHtml = ''; > contentHtml += '<div style="margin: > 0;text-align:center;">'; > contentHtml += '<object > type="application/x-shockwave-flash" > data="[SWF_URL]" width="[SWF_WIDTH]" height="[SWF_HEIGHT]" > class="flash">'; > contentHtml += '<param name="movie" > value="[SWF_URL]" />'; > contentHtml += '<param name="wmode" > value="opaque" />'; > contentHtml += '<embed > type="application/x-shockwave-flash" > src="[SWF_URL]" width="[SWF_WIDTH]" height="[SWF_HEIGHT]"></embed>'; > contentHtml += '</object>'; > contentHtml += '</div>'; > > document.getElementById('target_div).innerHTML = contentHtml; > } > _IG_RegisterOnloadHandler(affiche); > </script> > > /////////////////////////////////////////////// CODE */ > > where [SWF_URL], [SWF_WIDTH] and [SWF_HEIGHT] are the display > properties of my flash animation. > > It works fine now. > > I hope it would help. > > Bye -- 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.
