So you can the the full 1000px width of the swf on the age, but the content WITHIN the swf is aligned center (half empty on the right), OR you only see 500px of the swf (the other half is off the browser stage to the left) ?
I am just trying to narrow what the issue could be. Also, as a quick sanity check that all your values are exactly the same, you can use the swfobject code generator (and then just swap the embed modes and press genrate again, this way you know that all values passed / generated are the same): http://www.bobbyvandersluis.com/swfobject/generator/index.html <http://www.bobbyvandersluis.com/swfobject/generator/index.html>Cheers, Aran On Tue, Aug 17, 2010 at 12:21 PM, SPD <[email protected]> wrote: > HI, > > We have two versions of test files. When we use the > SWFObject.embedSWF, the flash file is aligned incorrectly. It looks > like the center of the SWF is aligned on the left edge of the browser > (so you cant see half of it). > > This one works perfectly is ALL browsers and just embeds the objects: > <html xmlns="http://www.w3.org/1999/xhtml"> > <head runat="server"> > <!-- Michelin Microsite Script --> > </head> > <body> > <div id="page"> > <div> > <div id="aarpmic_main_flash"> > <object classid="clsid:D27CDB6E- > AE6D-11cf-96B8-444553540000" width="1000" height="549" id="Object2"> > <param name="movie" > value="loader.swf" /> > <param name="wmode" > value="transparent" /> > <param name="flashvars" > value="deep_link=deeplink&media_loc='http://www.michelinman.com/the- > right-tire/media/'&flashvars.swf_loc = ''&flashvars.xml_loc = ''" /> > <!--[if !IE]>--> > <object > type="application/x-shockwave-flash" > data="loader.swf" width="1000" height="549"> > <param > name="wmode" value="transparent" /> > <param > name="flashvars" > value="deep_link=deeplink&media_loc='http://www.michelinman.com/the- > right-tire/media/'&flashvars.swf_loc = ''&flashvars.xml_loc = ''" /> > <!--<![endif]-->x > <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> > <!--[if !IE]>--> > </object> > <!--<![endif]--> > </object> > </div> > </div><!-- END: page --> > </div><!-- END: page --> > </body> > </html> > > However, the SWF version works perfectly everywhere EXCEPT IE 7 (well > IE8 in 7 compat mode for sure). Am I missing something or is this the > correct swfobject implementation of the above.? > > <html xmlns="http://www.w3.org/1999/xhtml"> > <head runat="server"> > <!-- Michelin Microsite Script --> > <script type="text/javascript" language="javascript" src="js/ > swfaddress.js"></script> > <script type="text/javascript" language="javascript" src="js/ > swfobject.js"></script> > <script type="text/javascript"> > swfobject.registerObject("aarpmic_main_flash", "9.0.0", > "expressInstall.swf"); > </script> > <script language="javascript" type="text/javascript"> > var path = window.location + ""; > var start = path.lastIndexOf("?") + 1; > var deeplink = path.substr(start, path.length); > </script> > <script type="text/javascript" language="javascript"> > var flashvars = {}; > flashvars.deep_link = deeplink; > flashvars.media_loc = " > http://www.michelinman.com/the-right- > tire/media/"; > flashvars.swf_loc = ""; > flashvars.xml_loc = ""; > var params = {wmode:"transparent"}; > var attributes = {}; > swfobject.embedSWF("loader.swf", "aarpmic_main_flash", > "1000", "549", "9.0.0", flashvars, params, attributes); > </script> > </head> > <body> > <div id="page"> > <div> > <div id="aarpmic_main_flash"> > </div> > </div><!-- END: page --> > </div><!-- END: page --> > </body> > </html> > > Thanks in advance, > Sean > > -- > 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]<swfobject%[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.
