Possible to expand the height of an swf on the fly?

Hi

Is there any function that allows to do this? Say I have an swf that is 400 pixels high and i add some content into it that is say 600 high, can I expand the whole swf’s height to fit this new content or is using a scrollpane or something the only way this can be done?

Phil