Resizing Flash content in a browser

I have flash content online that is 1024x800 px but need it to resize/scale dynamically if the browser window is resized or someone with a browser height of less than 800 visits the website.

Been looking at stage.resize and event.resize but can’t figure them out. Also have looked at swfobject and swffit (not actionscript I know) and can resize my content to a specific size using swfobject but not dynamically.

Any advice appreciated :slight_smile: