Hi,

when you publish a swf from within the flash ide and put the publish settings on 100% x 100%
noscale
html alignment : default
flash alignment : center center
the swf will appear in the center of the browser, horizontally and vertically speaking.

But when I compile an as3 project with flex builder, I can't get this done.

What would be the way to compile so that the swf is noscale and centered in the middel of the browser?

I tried

Code:
[SWF(backgroundColor="#ffffff", frameRate="40" )]
	
	public class Main extends Sprite{
		
	
		public function Main(){
			
			stage.align = StageAlign.TOP_LEFT;//tried it with or without this line
			stage.scaleMode = StageScaleMode.NO_SCALE;
  etc...
I compared both html sources but they don't seem to differ, so I'm pretty confused. Both have width and height 100% and align = "middle"

thanks,

Jerryj.