Flex 应用程序加载缓慢且没有进度条
我有一个Flex应用程序,有时当你查看它时,它完全符合预期。 然而有时,当您查看页面时,它只是空白,大约一分钟,没有进度条或任何等待的指示。 进度条在flex中应该是自动的。 我想解决这个问题,因为我担心这会导致我们损失很多销售额。 如果这是一个 Flex 错误并且没有修复,是否可以通过某种方式将 Flex 应用程序放置在一些诸如“正在加载..请稍候”之类的文本上,然后当应用程序加载时它会覆盖它? 我需要向用户提供某种是否需要等待的指示,60 秒太长,而且没有指示正在加载某些内容。
更新: 显然,对于某些用户来说,在刷新页面之前,它根本不会加载。
I have a Flex app., sometimes when you view it, its exactly as expected. Yet sometimes when you view the page it is just blank for like a good minute with no progress bar or any indication to wait. The progress bar is supposed to be automatic in flex. I would like to fix this because I am afraid it is causing us to lose many sales. If it's a Flex bug and there isn't a fix, is there someway I can position the Flex app over some text that says like "Loading.. Please wait" and then when the app loads it covers it? I need to give the user some sort if indication to wait, 60 seconds is way too long with no indication that something is loading.
UPDATE:
Apparently its not loading at all for some users, until the refresh the page.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我认为尝试下载不存在的“crossdomain.xml”文件超时。
I think it is timing out trying to download a non-existent "crossdomain.xml" file.
如果您使用自定义预加载器,那么这可能就是问题所在。 尝试将自定义的更改为默认的。 在预加载器显示加载进度条之前,必须加载 SWF 文件的完整第一帧。 所以你的第一帧可能非常大。 如果这些信息都没有帮助,那么最好的办法就是尝试创建一个可重现的测试用例并提交错误< /a>.
If you are using a custom preloader then that could be the problem. Try to switch out the custom one for the default. Before the preloader displays the loading progress bar the full first frame of the SWF file must be loaded. So it's possible that your first frame is very large. If none of that information helps then the best thing to do is to try to create a reproducible test case and file a bug.
我明白了这是什么,在 IE 中,只有将鼠标悬停在 Flex 应用程序上才会出现。 解决方法是将焦点设置为这样:
I figured out what this is, in IE, the flex app will not appear until you mouse over it. a fix is to set focus to it like this: