Centered swf problem |
Centered swf problem |
vinnybear |
Mar 19 2008, 10:23 AM
Post
#1
|
Group: Members Posts: 4 Joined: 13-February 07 Member No.: 1,892 |
the attached code will properly center (horizontally and vertically) a swf on a mac in safari and firefox, but not on a pc in IE.
please help! actual site here: Courtland Construction CODE <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> <title>master</title> <script language="javascript">AC_FL_RunContent = 0;</script> <script src="AC_RunActiveContent.js" language="javascript"></script> <style type="text/css"> <!-- body { background-image: url(images/backgroundTile2.jpg); background-repeat: repeat; } --> </style></head> <body bgcolor="#ffffff"> <!--url's used in the movie--> <!--text used in the movie--> <!-- saved from url=(0013)about:internet --> <table width="100%" height="100%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td width="1000" height="700" align="center" valign="middle"><div align="center"> <script language="javascript"> if (AC_FL_RunContent == 0) { alert("This page requires AC_RunActiveContent.js."); } else { AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0','width','1000','height','700','id','images/master','align','middle','src','images/master','quality','best','scale','noscale','wmode','transparent','bgcolor','#ffffff','name','images/master','allowscriptaccess','sameDomain','allowfullscreen','true','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','images/master' ); //end AC code } </script> <noscript> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="1000" height="700" id="master" align="middle"> <param name="allowScriptAccess" value="sameDomain" /> <param name="allowFullScreen" value="true" /> <param name="movie" value="images/master.swf" /> <param name="quality" value="best" /> <param name="scale" value="noscale" /> <param name="wmode" value="transparent" /> <param name="bgcolor" value="#ffffff" /> <embed src="images/master.swf" quality="best" scale="noscale" wmode="transparent" bgcolor="#ffffff" width="1000" height="700" name="master" align="middle" allowScriptAccess="sameDomain" allowFullScreen="true" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> </object> </noscript> </div></td> </tr> </table> </body> </html> |
Darin McGrew |
Mar 19 2008, 11:47 AM
Post
#2
|
WDG Member Group: Root Admin Posts: 8,365 Joined: 4-August 06 From: Mountain View, CA Member No.: 3 |
I recommend that you build a real web site, rather than a Flash-based pseudo-site.
But see also: Centering things Vertical centering using CSS vertical centering with CSS |
vinnybear |
Mar 19 2008, 01:08 PM
Post
#3
|
Group: Members Posts: 4 Joined: 13-February 07 Member No.: 1,892 |
I recommend that you build a real web site, rather than a Flash-based pseudo-site. But see also: Centering things Vertical centering using CSS vertical centering with CSS you know, you are right, I will go back and redo the whole thing in html. what was i thinking building a fake website! |
Lo-Fi Version | Time is now: 18th April 2024 - 06:07 PM |