Scale flash w/ browser

Okay I’ve seen this used a lot lately. What I’ve seen is when you resize your browser window whether you drag the corner to resize or hit the min/max button, the flash content scales along with the resized window. What is this called and how is it done??
It’s a nice effect. Future thanks for any help with this please.