Flex RSL理解 [英] Flex RSL Understanding

查看:173
本文介绍了Flex RSL理解的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

到目前为止,我在
Flex Builder中使用合并到代码中的框架链接。现在,我将其更改为运行时共享库​​。在做
一个版本生成我得到了myapp.swf这大约是260 KB的早些时候
接近350 KB。它也生成了 framework.swz 和framework.swf。

但是我只在我的网站上复制了myapp.swf,而不是 framework.swz

网站仍然运作良好。我也从 >这里。没有.swz文件,它工作得很好。所以我的问题是:

是实际使用的 framework.swz 文件还是Flash播放器?
a它事先。是否通过清除

flash播放器的缓存清除该副本?

即使在清除缓存之后,我也没有在firebug中看到 framework.swz
的请求。为什么?

解决方案

它跨域运作。您肯定会需要那些尚未在其缓存中具有RSL的framework.swz文件。在Linux上,缓存位于:.adobe / Flash_Player / AssetCache



另外,如果您还没有这样做,请确保为生产应用程序执行导出发行版。这将进一步减小尺寸。


Till now I was using "Merged into code" for "Framework Linkage" in
Flex Builder. Now, I changed it to "Runtime shared library". On doing
a release build I got myapp.swf which is roughly 260 KB which was earlier
close to 350 KB. It also generated framework.swz and framework.swf.
But I copied only myapp.swf on my web site and not framework.swz.

Still the website works just fine. I also cleared the flash player cache
from here. It works just fine without the .swz file. So my questions are:

Is the framework.swz file actually used or does the flash player have
a copy of it beforehand. And is that copy not cleared by clearing cache of
flash player?

And, even after clearing the cache, I didn't see a request for framework.swz in firebug. Why?

解决方案

The framework.swz RSL is stored in a special Flash Player cache. It works cross-domain. You will definitely need the framework.swz file there for those that don't yet have the RSL in their cache. On Linux the cache is at: .adobe/Flash_Player/AssetCache

Also, if you are not already doing so, make sure you do a Export Release Build for your production app. That will reduce the size further.

这篇关于Flex RSL理解的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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