Resize iframe with actionscript?

Is it possible to do this? Click a button in a flash file and an iframe in the same page resizes. Thanks!