So the 100% examples in the SWFObject test suite fail in Chrome as well? (I don't have chrome installed presently, so I can't test myself sorry)
Dynamic: http://www.bobbyvandersluis.com/swfobject/testsuite_2_1/test_dynamic_fullbro wserflash.html Static: http://www.bobbyvandersluis.com/swfobject/testsuite_2_1/test_fullbrowserflas h.html Also, is your centering code on frame 1? I have found that sometimes you have to wait 1 frame before the Stage values are correctly set. Aran -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of ben.r Sent: Tuesday, 17 February 2009 11:01 PM To: SWFObject Subject: Problems with Chrome (full screen) Hi, In FF and IE works fine, but Chrome shows top & left margin and the movie is not centered. I have a center function in actionscript: function center() { mc._y = Stage.height/2; mc._x = Stage.width/2; } html: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http:// www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title></title> <style type="text/css"> <!-- html, body, #content, myFlash { height:100%; } body { margin:0; padding:0; overflow:hidden; } --> </style> <meta http-equiv="Content-Type" content="text/html; charset="utf-8" /> <script type="text/javascript" src="swfobject.js"></ script> <script type="text/javascript"> swfobject.registerObject("myFlashContent", "8.0.0", "expressInstall.swf"); </script> </head> <body> <div id="content"> <object id="myFlash" classid="clsid:d27cdb6e- ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/ pub/shockwave/cabs/flash/swflash.ca b#version=8,0,0,0" width="100%" height="100%"> <param name="movie" value="intro.swf" /> <param name="salign" value="lt" /> <param name="scale" value="noscale" /> <!--[if !IE]>--> <object type="application/x-shockwave-flash" data="intro.swf" width="100%" height="100%"> <param name="scale" value="noscale" /> <param name="salign" value="lt" /> <!--<![endif]--> <table width="100%" height="100%" border="0" align="center"> <tr> <td><div align="center"> <p> <img width="461" height="580" alt="" src="intro.jpg" usemap="#Map" border="0"/> <map name="Map"> <area shape="RECT" coords="59,484,95,500" href="http://www"/> <area shape="RECT" coords="44,518,95,534" href="http://www"/> <area shape="RECT" coords="11,554,95,570" href="http://www"/> </map> </p> </div></td> </tr> </table> <!--[if !IE]>--> </object> <!--<![endif]--> </object> </div> </body> </html> ---------------- tnx for help. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
