Auto Resizing Flash

Hi, I was trying to prevent piracy, and increase website efficiency by containing my swf’s within a main swf, a container, if you will.

What I need to know is, how do you make the container swf expand and shrink with the browser, like at ??

Any Help would be appreciated.:bad: