Using Flash in a showing / hiding DIV

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

On a page I am developing right now, I want to have a menu that slides
down when clicked on a handle, like the menu on /
I have succeeded in creating such a menu, however, when replacing the
(text) content with a flash movie, the behaviour becomes very odd in
most browsers. Parts of the movie start showing through even when it
is hidden, or the movie won't show at all, even when the menu is

To circumvent this problem, I have tried to only display the movie
when the menu has fully expanded, using the following code:

var menuShow = false;
function toggleMenu() {
  if (menuShowing) {
    menuShowing = false;
  } else {
    menuShowing = true;

In Safari 3 on OS X this works fine, but in Firefox or IE7, it
doesn't. Can anyone offer a solution or workaround so that I can
achieve the desired functionality? To see the page, visit

Thanks for any help.

Site Timeline