【问题标题】:Flash performance loss in Internet Explorer when wmode is transparent or opaquewmode 为透明或不透明时 Internet Explorer 中的 Flash 性能损失
【发布时间】:2012-07-25 20:55:58
【问题描述】:

一段时间以来,当 wmode 为“透明”或“不透明”时,我们在 IE 中的 flash 内容(2 个相当大的 flash/flex 应用程序)的性能一直很差。谷歌搜索没有产生可用的结果,也没有分析和优化我们的代码库以提高性能和低内存使用。我们可能忽略了什么?

【问题讨论】:

    标签: flash apache-flex


    【解决方案1】:

    我想我会在这里发布这个以节省其他人的时间:

    罪魁祸首原来是一个仅用于 IE 的 css 语句,该语句用于向 IE 7 和 8 添加阴影,该语句最近被添加到我们的网站。

        filter: progid:DXImageTransform.Microsoft.Shadow(Color=#999999, Strength=3,
    Direction=90), 
    progid:DXImageTransform.Microsoft.Shadow(Color=#999999, Strength=3, Direction=180),
    progid:DXImageTransform.Microsoft.Shadow(Color=#999999, Strength=3, Direction=270)\9;
    

    这会严重影响闪存性能,因此如果您遇到特定于 IE 的类似性能问题,请务必检查一下。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2011-02-16
      • 2011-08-08
      • 2014-05-19
      • 2011-08-25
      • 2013-01-19
      • 2011-11-24
      • 2011-03-27
      • 2011-07-09
      相关资源
      最近更新 更多