Centering Flash in the html file

Hey guys. I’ve done some revamping of my site and I need some help…

How do I center the Flash movie in my html file?.. No matter what resolution the viewer has, I always want the movie to be centered on screen. How do I achieve that?.. I could publish it by percentile, but I have graphics that chop above 800 X 600… Any way around this?..

Here’s a link to the original site… It’s set to confrom to the browser size… so at 1024 X 768 the graphics begin to deteriorate.

Original Site

-oasis-

in html
make a table and make it 100% wide 100% tall (height/width)

make a table inside that table with the dimensions you would like

make the inside table align center…

Voila.

Thank you so much… that’s exactly what I needed to know.

-oasis-

This is easier:


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

That aligns it in the perfect middle of the page, no matter what the res is.

i now have a perma-grin… Thank you. :wink:

-oasis-

I’m really lazy - I just do this:


<center>

//insert flash movie code

</center>

Heehee…

Haha freddy. IF you are using dreamweaver, then just click on the flash app. and select “absolute center” from the drop down menu. then click the space to the right and hit the “align=centre” button.

Awesome help guys… Thanks much!

-oasis-

Thats easy enough in explorer and netscape, now try centering a table in opera browser, now thats the problem. :slight_smile: