Publishing settings

Is there a way in which to get flash to publish the html , so that the .swf re-sizes inside it to fit the browser window.

i.e so that it won’t chop edges off at a lower resolution, and not leave gaps on a higher one.