Centering Flash MX in Browser

Can anyone tell me how to centre my Flash website in the browser window.

I have specified that it should be centred in the publishing bit but it still shows up in the top left corner of my browser. Am i doing something wrong in Flash or do I need to take it into dreamweaver?

I’d appreciate any help. Thanks

by default, the template used in making HTML pages in Flash is just a basic object/embed in the upper left corner (no formatting at all). If you want, you can insert the page in dreamweaver and center it there or, as I have done, edit the default flash HTML template to always center your movies when you publish to HTML from flash.

You can find the HTML templates used in Flash in the folder:
Macromedia\Flash MX\First Run\HTML

I’m still having problems centering my flash mx website. I was adviced to look into the flash folder - Macromedia\Flash MX\First Run\HTML but i don’t know really what i’m looking for.

Can someone explain in an idiot proof way either how to do it in Flash or in Dreamweaver. I’d be greatful for any help. thanks

Edit the HTML file you published, in the <head> tag add <p align=“center”>

so…

Cant post html, so ill add it to a text document…

:battery:

thank you. I’ll give it a go.

I opened the html file created during the publishing of my Flash file in Dreamweaver and put the following:
<Head>
<title>Name of site bla bla bla</title>
<p align=“centre”>
</head>
But still no joy. Any ideas anyone?

bit missing from above message: <p align=“centre”> after the title and before </head

I dont understand why when using Flash MX (at the publishing stage) that it doesn’t centre when u specify it to ‘centre’/‘centre’.

Can someone tell me how to centre the files in dreamweaver. (If that’s any easier?)

You have to spell it center, not centre. :stunned:

just checked, i downloaded ur file and cut and pasted it and that was spelt ‘centre’. just corrected to it 2 'center and guess what… it still doesn’t work. Think i’m a lost cause!!! do u need to insert an end bracket to. Thanks for your help SBV

I"VE GOT IT!!!
SUSSED IT

THANK YOU