I'm working on a php site where the same .swf is loaded every page but a url variable is passed to flash via the swfobject. The flash movie, which is just a horizontal menu, loads various pieces of content depending on the page. The content can add up to any height because of some pages having dynamically repeated content.

I'm looking for a way to style the div holding the flash and/or the dimensions of the embed tag so that 100% of the flash content is shown followed by a plain html footer.

For now I'm going with a php array of predetermined heights so that I can show some progress to the client but using this would be imperfect and force me to use an ick flash scroll bar.