Resolution

I saw this two sites and I didn’t figured out how can I set rezolution of my flash site that is fit to viewer’s screen.
http://www.as-flash.com/
http://www.fsnis.org.rs/

I somone have any sugestions I will be pleased.