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

submit to reddit

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.

Related posts:

  1. load flash .swf in hidden div
  2. flash player with debugger issue
  3. IE 6 problem with flash z-index

You are a GREAT developer? Click here to answer the weekly quiz!

This entry was posted in flex 3, javascript, web development and tagged , , , . Bookmark the permalink.

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

  1. Sergio says:

    Hello, i have the same problem if you find a solution please share with me

  2. Stoimen says:

    Yes you can find the solution if you read this post.
    Greetings

  3. babajo says:

    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.

  4. Jessica says:

    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 *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">