I'll get back to you in a few days with the code(no time now), but if you wanna play it safe
when the shadowbox is activated hide flash and when you close shadowbox show flash.
We use that at our work & it works across all the browsers.
Something like this is enough (noticed that you use jquery):
Wizzud is right. You commented out in your shadowbox.js line which hides flash.
So solution to your problem is just to removed those backslashes!
Anyways, you have options to call functions when you open or close shadowbox.
Let's imagine that in shadowbox.js there is no functionality which hide/show flash, the simplest code would look like this:
not sure if this has been suggested before but to solve my 'hidden flash' issue without editing the Shadowbox code (and allows you to use the faster/compressed version) is by doing a screen grab (use Flash's Export Image) of my Flash anim then setting the background of the containing DIV element to this image.
Hence, when Shadowbox opens (and hides my Flash anim), instead of a white space, the DIV now shows its background. For Flash material where not a huge part of the screen is being updated constantly, this works great. Beats dead space on any day!