Flex 应用程序在 Chrome、Firefox 上的行为有所不同

发布于 2024-09-08 01:11:45 字数 336 浏览 2 评论 0原文

我的 Flex 应用程序在 Chrome 和 Firefox 中似乎有不同的帧速率。我有一个预加载器,它本质上是一个启动画面,随着计时器逐渐消失,正是这部分具有明显的帧速率差异——它在 Firefox 中消失得更快。奇怪的是,我在应用程序的其余部分中使用的任何计时器似乎在浏览器中的行为都是一致的。只有这个预加载器/启动屏幕有帧速率差异。

Chrome 或 Firefox 处理 Flash 的固有方式是否存在导致此问题的原因?或者这是我使用预加载器设置应用程序的方式?我已经重新安装了 Flash,并且两个浏览器都运行 10.1,该版本承诺修复处理计时器和浏览器交叉兼容性的问题。

这真让我烦恼;任何帮助或信息将不胜感激!

My Flex app seems to have different frame rates in Chrome and Firefox. I have a preloader that is essentially a splash screen that fades away with a Timer, and it is this part that has the noticeable frame rate difference--it fades away faster in Firefox. The odd thing is that any Timers I'm using in the rest of the app seem to behave uniformly across browsers. It's only this preloader/splash screen that has the frame rate difference.

Is there something inherent in the way Chrome or Firefox deals with Flash that is causing this issue? Or is it the way I have set up my app with a preloader? I've reinstalled Flash, and both browsers are running 10.1, which promised to fix issues dealing with Timers and browser cross-compatibility.

This is really bugging me; any help or info would be appreciated!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

牛↙奶布丁 2024-09-15 01:11:45

最大帧速率限制可能因浏览器而异。这篇博客文章中有更多信息,虽然信息有点过时。引用:

。在 Internet Explorer 中,该值为 100 帧/秒。为什么?因为Windows定时器可以提供的最小时间片是10毫秒。火狐怎么样? FireFox 不使用特殊的计时器,并决定限制插件的最大帧速率。为什么?我们的想法是,用户不断抱怨插件占用了太多 CPU 时间。

我找不到有关 Chrome 或 Safari 帧速率的任何具体信息。也就是说,您确定在不同浏览器中没有加载/渲染时间的问题,而不是帧速率不匹配的问题吗?

Max Frame Rate limitations can vary across browsers. There is more information in this blog post, although the information is a bit dated. To quote:

. In Internet Explorer this is 100 frames/sec. Why? Because the minimum time slice Windows timers can provide is 10 milliseconds. What about FireFox? FireFox does not use special timers and made a decision to limit the maximum frame rate for plugins. Why? The thinking is that users constantly complain that plugins take too much CPU time.

I couldn't find any specific information on Frame Rates for Chrome or Safari. That said, are you sure you aren't have issues with load / rendering time in different browsers, as opposed to a frame rate mismatch?

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文