Resizing a swf to fit the size of users resolution

I’m in the process of planning the next phase of my portfolio site. I’d like to be able to resize my swf files dynamically acording to the resolution the user has on thier monitor. I’ve noticed quite a few Flash sites lately that can do this. Here’s an example-

LINKY

If anyone has some valuable input on this for me it would be greatly appreciated.