Browser size detection?

does anyone have an idea at getting a swf file to autoload to the visitors monitor size so that there are no scrollbars on the html page?