# Page positioning on Testing Movie and Publish Preview?

**URL:** <https://forum.kirupa.com/t/page-positioning-on-testing-movie-and-publish-preview/185677>\
**Category:** flash\
**Created:** [April 15, 2006, 8:11am UTC](https://forum.kirupa.com/t/page-positioning-on-testing-movie-and-publish-preview/185677 "2006-04-15T08:11:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![caractacus](https://avatars.discourse-cdn.com/v4/letter/c/5e9695/32.png) [@caractacus](https://forum.kirupa.com/u/caractacus)\
**Post date:** [April 15, 2006, 8:11am UTC](https://forum.kirupa.com/t/page-positioning-on-testing-movie-and-publish-preview/185677/1 "2006-04-15T08:11:34Z")

</div>

I’m new to website design and Flash in particular so please bear with me…

I’ve designed my website which I am pleased with…I’ve done all the animations that I wanted…everything looks and works fine when I ‘Control\>Test Movie’… However,

…when I ‘Publish Preview’ my page moves to the left, leaving a space on the right hand side. I expected the page to remain central as I see it in Test Movie. Could someone tell me why it changes position and how I can keep it central?

Many thanks…

---

<div class="post-metadata">

**Author:** ![Rustyd](https://avatars.discourse-cdn.com/v4/letter/r/e19adc/32.png) [@Rustyd](https://forum.kirupa.com/u/Rustyd)\
**Post date:** [April 15, 2006, 3:13pm UTC](https://forum.kirupa.com/t/page-positioning-on-testing-movie-and-publish-preview/185677/2 "2006-04-15T15:13:49Z")

</div>

Without seeing your code, I would imagine that your HTML published file does not say “Hey, Center this SWF file!!”. So, you could drag your final HTML page into Notepad and 1) Make sure the body bgcolor matches your movie then 2) Add a \<center\>\</center\> wrapper around your SWF Object.  
File-Publish Settings is a good place to start though…

---

<div class="post-metadata">

**Author:** ![Joppe](https://avatars.discourse-cdn.com/v4/letter/j/b38774/32.png) [@Joppe](https://forum.kirupa.com/u/Joppe)\
**Post date:** [April 15, 2006, 3:56pm UTC](https://forum.kirupa.com/t/page-positioning-on-testing-movie-and-publish-preview/185677/3 "2006-04-15T15:56:24Z")

</div>

Yeah you’ll need \<center\>\</center\> for basics anyway. You should look into CSS for more advance controlling. You could also try

```auto

Stage.align = "C"

```

In the first frame…

---

<div class="post-metadata">

**Author:** ![caractacus](https://avatars.discourse-cdn.com/v4/letter/c/5e9695/32.png) [@caractacus](https://forum.kirupa.com/u/caractacus)\
**Post date:** [April 15, 2006, 4:05pm UTC](https://forum.kirupa.com/t/page-positioning-on-testing-movie-and-publish-preview/185677/4 "2006-04-15T16:05:23Z")

</div>

Thanks guys!!
