Yeah, u're right, thanks. In old version there was a check if the dom was loaded, and if not the styles were injected. So one solution was to wait for domload before inserting the swf. But this loooks it;s fixed in v 2.2 Thankx again.
On Dec 3, 5:43 pm, "Getify Solutions, Inc." <[email protected]> wrote: > Have you by chance not upgraded to 2.2? This was an issue before, but I > believe we fixed that with v2.2. > > --Kyle > > -------------------------------------------------- > From: "radu" <[email protected]> > Sent: Thursday, December 03, 2009 9:00 AM > To: "SWFObject" <[email protected]> > Subject:stylesinjectionin HEAD > > > I'm using swfObject to include 40 flash movies in a page. After doing > > that, swfObject injects myHEADwith 40 style tags for each of my > > movie ids <style> #movieXX {visibility:hidden} </style>. Then inline, > > on each of my movies I get style="visibility:visible". Probably this > > is how it's working, first hide the container and then show it after > > the flash was inserted. > > But this approach is not very elegant. In IE, if you're also using > > excanvas.js (from google, to be able to use canvas element), you get > > an error, because there are too many <style> tags defined. Is there a > > fix for that? > > > -- > > > You received this message because you are subscribed to the Google Groups > > "SWFObject" 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/swfobject?hl=en. -- You received this message because you are subscribed to the Google Groups "SWFObject" 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/swfobject?hl=en.
