开发者

Flex RSL Understanding

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 o开发者_运维问答n 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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜