-
Hello,
I'm trying to center a movie in the browser but it seems to stay in the top left hand everytime I publish preview it. I changed the publish setting several times but can't get it work right
Sorry if the question is too basic for this forum.
Any help would be greatly appreciated.
Thanks
-
Centering Flash Movie
There is an easy fix to this problem...within the HTML page, create a table with the width and height values set to 100% (this will require the table to take up the entire browser window no matter what resolution the user's screen is). Then set the alignment of the table to "center." Finally just insert your flash movie within the single table data <TD> and it should center itself within the table.
-
Use an html editor and create a 3x3 table with 100% witdth and height. Put the swf in the middle cell aligned to center. Like:
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="100%">
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td>
<div align="center"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="36" height="36">
<param name=movie value="file:///C|/Program%20Files/Macromedia/Dreamweaver%204/Lessons/Lesson%20Files/swifs/Biking.swf">
<param name=quality value=high>
<embed src="Biking.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="36" height="36">
</embed>
</object></div>
</td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
</table>
-
-