"wmode"-"transparent" parameter

I’m making a menu in flash and it uses drop-down submenus which fall over the html content.
I’ve used the “wmode”-“transparent” parameter to do that.
I also inserted the menu inside a <div> to put it over the rest.

The problem is that it appeares behind other swf’s which are inside the page, although they are in the same <div> with the rest content which is under the menu.

Second problem is that ColdFusion forms that are in this page(logins etc.) don’t work because the height of the menu is 500 pixels, so that the submenus will appear.

The only thing that works is that the links in the page aren’t disabled by the height of the menu. Just the forms.

Is there a way to solve this inside flash? I mean, by using some sort of code to leave the stage height undefined (auto or something like that), or should I do something with the html or javaScript?

I hope that my problem is clear to all.
Thank you.