I have a Flash movie embedded in some DIV. The trouble is that when I change any property of the enclosing DIV dynamically, Firefox (not other browsers) restarts/reinitializ
see https://bugzilla.mozilla.org/show_bug.cgi?id=90268
Yes, it seems like Firefox kills the flashes instances that are not visible.
I had the same problem in Firefox 3.6.13 and Flash Player 10.2.152. I tryed with "visibility:hidden" and "position:absolute" but didn't work even with "wmode=opaque".
For me the solution was setting the "wmode" to opaque, "position:absolute" and "opacity:0", but it´s not possible to set the "top" property to negative or whatever "position", "overflow" or "margin" hack. The entire movie need to have its "space reserved" in the page to avoid Firefox killing it.
I needed to toggle the visibility between two flash movies with the same size, so, the solution was setting the opacity of one of them to 0 and changing their z-index properties to put forward the active one. It worked fine.
Try hiding it with visibility:hidden
or if all else fails, position:absolute;left:-9999px
.
I presume Firefox doesn't want to waste memory and CPU on Flash animation that's invisible, so it kills it.