This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Why does firefox reload flash objects when the css display is changed?

  • 1 reply
  • 30 have this problem
  • 3 views
  • Last reply by cor-el

more options

Hi, I have a flash object in a DIV on a web page. When the CSS display property is changed, generally to hide it, the Flash object is reloaded.

Is there anything that can be done to keep this from happening, other than using the css visibility property, which causes other problems.

This problem does not occur in IE...

If this is not the right place to ask this question please point me to the right place.

Thanks for any help, Pat

Hi, I have a flash object in a DIV on a web page. When the CSS display property is changed, generally to hide it, the Flash object is reloaded. Is there anything that can be done to keep this from happening, other than using the css visibility property, which causes other problems. This problem does not occur in IE... If this is not the right place to ask this question please point me to the right place. Thanks for any help, Pat

All Replies (1)

more options

The Flash object is reloaded if you use {display: none}
If you use {visibility: hidden} then Firefox shouldn't reload the Flash object.


A good place to ask questions and advice about web development is at the mozillaZine Web Development/Standards Evangelism forum.
The helpers at that forum are more knowledgeable about web development issues.
You need to register at the mozillaZine forum site in order to post at that forum.

See http://forums.mozillazine.org/viewforum.php?f=25