How do you fit a flash movie perfectly into an html page?

sorry to use an example like this, I just quickly found it, Ive seen simpler sites like this…look here

how do you get the movie to display inside the browser perfectly sized like this? Ive looked all over the place for tutorials, any help would be greatly appreciated:)