How to make a flash to fit window size?

Hi all,
I’m facing a problem that is - I had created a flash header for a web-based assignment, but due to the window resolution, I can’t make its size fit to window’s width even I fit the width to 100% inside the html. Can anyone help on this?I appreciate any help. Thanks.