flex 预加载器无法在 url 中使用 #(深层链接) [英] flex preloader not working with # in the url (deep linking)

查看:23
本文介绍了flex 预加载器无法在 url 中使用 #(深层链接)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我的页面 url 中有 # 时,我无法让 Flash 预加载器工作(即使没有任何深层链接库或逻辑).我正在使用 flex 3.3.Flash 插件 9 和 10,所有浏览器.

I can't get flash preloaders to work when there is a a # in the url of my page (even without any deep linking libraries or logic). I am using flex 3.3. Flash plugins 9 and 10, all browsers.

网址中存在有关 # 的错误,阻止预加载器工作:http://bugs.adobe.com/jira/browse/SDK-14162

然而,不知何故,某个地方的某个人有办法解决这个问题.以下是一些工作示例(记得清除缓存以确保您看到预加载器的魅力):

However, somehow, someone, somewhere has ways around this. Here are somewhat working examples (remember to clear your cache to ensure you see the preloader awesomeness):

但是,这些不起作用(根本没有预加载器或暂时卡在 100%):

However, these do not work (no preloader at all or momentarily stuck on 100%):

那么,这里发生了什么?我怀疑 flex 框架.

So, what is going on here? I suspect the flex framework.

有谁知道在哪里可以查看 flex 代码?或者这个错误比 adobe 以外的任何人都更深?

Anyone know where to look in the flex code? Or is this bug deeper than anyone but adobe can fix?

推荐答案

这里发生的事情很少.

(1) 看起来我的#wtf 示例中最快的预加载器来自 Adob​​e.他们加载了一个非常小的 container.swf,然后加载了他们的 3mb 主 swf(以及其他大文件).

(1) Looks like the quickest pre-loader from my #wtf examples is from Adobe. They load a very small container.swf, which then loads their 3mb main swf (amongst other biggies).

(2) 其他一些预加载器"并不是真正的预加载器.他们的开场动画会在整个内容加载完毕后播放.

(2) Some of the others "preloaders" aren't really preloaders. Their opening animations play when the whole thing is loaded.

这篇关于flex 预加载器无法在 url 中使用 #(深层链接)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆