I am new to Flex and I am trying to set up an experimental web site.
When I open my browser the swf that the flex compiler produces
is located to the left of the screen. How can I set the swf to be automatically
located in the center of the browser window and to adjust to the window size.
Thanx in advance,
if you want the app to remain centered and stay the same size, use css positioning on your html code.
if you want the app to fill the browser window set width and height to 100%. eg:
and use layout settings to position the content, eg: http://www.adobe.com/devnet/flex/videotraining/exercises/ex1_05.html