Movie won't center in browser window

Posted on 2000-02-12
Medium Priority
Last Modified: 2010-04-07
Hopefully this is a very simple question. I just finished my first Flash movie and face one final obstacle: it refuses to center in the middle of the browser window, neither Netscape 4 or IE 5. Instead, it hugs the left edge. When I insert Align=Right tags it will move to the right edge, but Align=Center has no effect. From what I've read in the manual it seems that it should center by default. Movie can be seen at http://www.frommgroup.com/splash.html Thanks much.
Question by:Tournefort
  • 2

Accepted Solution

SuperMario earned 100 total points
ID: 2515854
Now open up the .html source in Notepad.

Right after

<body bgcolor=".....">

insert this:


Then right before



This will center your movie.


Expert Comment

ID: 2515856
BTW, Align=Default is center.


Author Comment

ID: 2517047
Yes, thanks, <center> tags work, but Align=Default does not. Do you have any idea why it does not center automatically, without fiddling with the HTML?

Expert Comment

ID: 2524326
I assume that it's a bug in Flash 4.   Modifying the HTML like Mario suggested works, but it's a shame Flash 4 can't do it on it's own.

cool animation with the key by the way,

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

I know the transition can be hard. We got used to the ease of use ActionScript 2 had, but honestly, it became problematic later on, especially if designers were involved in the project and found it easy to add code as they saw fit. So, this artic…
In my long career of working as an actionscript developer, I had spent sleepless night often working hard to solve some small problems which actually took a lot of my development time; later found out the solutions to be a line or two. Here are s…
In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.

600 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question