<p>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/reinitializes Flash movie effectively resetting the whole progress (eg: file selection for upload, etc.).</p>

<p>Is there some sort of a workaround for this?</p>

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.