# Centering movie in browser window

**URL:** https://forum.kirupa.com/t/centering-movie-in-browser-window/3166
**Category:** programming
**Created:** [March 13, 2001, 7:57pm UTC](https://forum.kirupa.com/t/centering-movie-in-browser-window/3166 "2001-03-13T19:57:45Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [March 13, 2001, 7:57pm UTC](https://forum.kirupa.com/t/centering-movie-in-browser-window/3166/1 "2001-03-13T19:57:45Z")

</div>

Hi K,  
It’s me again.  
I want to know how you make a movie appear in the center of a browser window, regardles of how big or small the window is resized. I dont want the movie to shrink or grow with the resizing, but to stay in the center. A good reference is this fantastic site  
[www.designinsites.com/fla…oindex.htm](http://www.designinsites.com/flashintroindex.htm)  
He keeps everything in the center and even has graphics in the browser window itself.  
Thanks for all the great support!  
Keep up the good work.  
Garrapito

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [March 14, 2001, 9:11am UTC](https://forum.kirupa.com/t/centering-movie-in-browser-window/3166/2 "2001-03-14T09:11:07Z")

</div>

You should add an extra line of actionscript in order to overcome your size based problem.  
FS Command / Allowscale / False  
That’s all. The movie’s scale is now stable and independent of the change in the window size.

Centering problem. I arrange my page and of course movies in DreamWeaver. There are many options for modification and aligning your movies in there. Just align center…

Good Luck…

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [March 14, 2001, 6:29pm UTC](https://forum.kirupa.com/t/centering-movie-in-browser-window/3166/3 "2001-03-14T18:29:08Z")

</div>

Thanks so much for the tip.  
The FS Command; do I place this in a keyframe at the beginning of the movie, does it matter?
