[Update: Add complete Flash Builder project source files. ]
If you have dynamic content within your Flash application or you have several states or „pages“ implemented, which all have different content, it might be helpful to resize your flash aplication container within the html- context. For this it’s not enough to resize the application from within the flash application. You also have to resize the surrounding html container. This is the object tag for Mozilla browsers or the embed tag, if the client uses the Internet Explorer.