Flash 8 full browser question

I’m trying to make a site in Flash that stays centered horizontally no matter the size of the browser. And, it also needs to stay flush at the top of the browser. A good sample is
http://www.waroftheworlds.com

Notice when you resize the browser or stretch it horizontally, the flash is always centered.

Does anyone know how to do this?

Thanks in advance!

Troy

You have to embed your .swf using swfObject 2.0

Google it, download the swfobject.js and put it in the same directory as your html file. For the html code, you can use the code generator they provide on their site.

You don’t need to download anything. Just use a table or a div and set it’s properties to align in the center of the page.

add this before your <object> tag:

<div align=“center”>

and to be safe you should add:

</div>

after you </object> tag