I found out why nothing is being displayed... the width and height attributes "100%" dont work when using the <!DOCTYPE...>. Works if you set the dimention in pixels.
On Sep 14, 10:31 pm, Mario Luis Gomes <[email protected]> wrote: > Forgot to mention that this bug only happens in Firefox 3.5.3, works > fine in IE 8. Am using flash 10. > > On Sep 14, 10:27 pm, Mario Luis Gomes <[email protected]> wrote: > > > The code below works fine when removing the first line. Any > > explanation why? > > > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" > > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> > > <html> > > <head> > > <script src="scripts/swfobject.js"></script> > > <script type='text/javascript'> > > var params = {}; > > params.wmode = "window"; > > params.scale = "noscale"; > > params.salign = "lt"; > > params.swliveconnect = "true"; > > params.quality = "high"; > > params.allowscriptaccess = "always"; > > var attributes = {}; > > attributes.name = "flash_test"; > > > swfobject.embedSWF("flash_test.swf", "idFlashEditor", > > "100%", > > "100%", "8.0.0","expressInstall.swf", false, params, attributes); > > </script> > > > </head> > > <body> > > <div id="idFlashEditor"> > > <h1>You need to install Adobe Flash player</h1> > > <p><a href="http://www.adobe.com/go/getflashplayer"><img > > src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" > > alt="Get Adobe Flash player" /></a></p> > > </div> > > </body> --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
