Beginner question: how to get HTML document to be the same size as SWF movie?

Hi everyone,

Just got started with Flash and I can’t seem to get this very simple thing right: how do I get the HTML browser to open a published document on a fixed size? It keeps opening a huge window with lots of empty background colour around the swf. Where ca I learn how to get this right? Cheers!