Flash doesn’t load in div with display:none style

Where’s the problem?

As it appears if you have flash embed / object tags in a div which is initaly hidden (style=”display:none”) cannot be loaded. It means the .swf file is loaded via HTTP but when the div become visible then starts the loading process and the flash starts from the begining.

Is there a workaround?

I’m looking for a workaround which I’ll share as soon as I find it. If you have a solution please share it with us.

4 thoughts on “Flash doesn’t load in div with display:none style

  1. hey whatsup. i found that problem to and i was able to workaround by setting the innerHTML of the parent element to “” (a blank string) instead, that stops it.

  2. I know this post is old, but I found you could set the element to height/width of 0 and it will still load, but be invisible

Leave a Reply

Your email address will not be published. Required fields are marked *