When I generate an html page out of flash, it puts the contents upper left, instead of middle, no matter what settings I choose.
File>publish settings>html>alignment> center center
Then I always have to go to DW and body>align center
Further, the content properly flexes with the browser window left and right.
I would like to float the contents top and bottom too, so if the browser wiondow is big,
all my stuff can be in the center instead of crammed to the top.
Flash 9 CS3
In Flash, firstly, these two lines are essential:
stage.align = StageAlign.TOP_LEFT;
stage.scaleMode = StageScaleMode.NO_SCALE;
Set align to know how to position your objects on stage and disable scaling, so no matter what size your swf has, all you objects remain the same.
This is how you get your swf's size. From now on, centering your objects is just math. I hope I helped.