Centering flash movie for html

After I publish my flash movie i Get an html file…
How can I center the Flash movie in the browser?
The default is left.
There are two alignment attributes that are initially empty strings.
right makes it right align but center does not do anything.

thanks

edit you html file in dreamweaver or frontpage cut the swf file embedded in the html now insert a table 100% width 100% height now center the table on the page and paste the swf file into the table it should be cenetered if not then click inside the table and choose center inside the table as well :beam:

well, if you dont have dreamweaver you can just set those properties in your publish settings im pretty sure. you have to publish an html file along with your swf of course…

then on the html settings there should be a choice for alignment or something and just choose center…

the way that was mentioned above is probably superior since you have more control…but if you dont have dreamweaver…there is a way

blessings.

here’s the code for the above

look for the


<object>
your flash content
</object>

tags…and place div tags around these with the align property set to center, like this:


<div align="center">
<object>
your flash content
</object>
</div>

here’s the deprecated way of doing it:


<table align="center">
<tr>
<td>
<object>
flash content
</object>
</td>
</tr>
</table>

And here’s how to place it in the horizontal and vertical middle:

<TABLE WIDTH="100%" HEIGHT="100%" BORDER="0"><TR align="center" valign="middle"><TD>
<OBJECT>
Code goes here
</OBJECT>
</td></tr></table>

[COLOR=red]Flash Exchange[/COLOR] and download the “Center in Browser” extension… :thumb: