ghurty Posted July 20, 2009 Share Posted July 20, 2009 How can I have it that the flash file will be in the center of the page (left/right center). As of now it is sticking to the left. Thanks <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>OpSec Consulting</title> <style type="text/css"> <!-- body { background-image: url(files/bg.gif); background-repeat: repeat; } --> </style> <script src="Scripts/swfobject_modified.js" type="text/javascript"></script> </head> <body> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="766" height="750" "align="middle" id="FlashID" title="main"> <param name="movie" value="files/main.swf" /> <param name="quality" value="high" /> <param name="wmode" value="opaque" /> <param name="swfversion" value="7.0.70.0" /> <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. --> <param name="expressinstall" value="Scripts/expressInstall.swf" /> <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. --> <!--[if !IE]>--> <object data="files/main.swf" type="application/x-shockwave-flash" width="766" height="750" align="middle"> <!--<![endif]--> <param name="quality" value="high" /> <param name="wmode" value="opaque" /> <param name="swfversion" value="7.0.70.0" /> <param name="expressinstall" value="Scripts/expressInstall.swf" /> <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. --> <div> <h4>Content on this page requires a newer version of Adobe Flash Player.</h4> <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> <!--[if !IE]>--> </object> <!--<![endif]--> </object> <script type="text/javascript"> <!-- swfobject.registerObject("FlashID"); //--> </script> </body> </html> Quote Link to comment Share on other sites More sharing options...
haku Posted July 21, 2009 Share Posted July 21, 2009 You are using swfobject, but then you are hardcoding the embedding tag into the page - that doesn't really make sense. Unless it's not swfobject, but rather something else with the same name? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.