PDA

View Full Version : Centering movie in browser window



Garrapito
March 13th, 2001, 02:57 PM
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

Unicorn
March 14th, 2001, 04:11 AM
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...

Garrapito
March 14th, 2001, 01:29 PM
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?