微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

什么是用于闪存的RSL(运行时共享库​​)?

请注意,我不是在询问使用什么SWC,我知道这一点.

我想知道,在闪存中使用RSL.假设我通过将特定文件夹指定为“其他源文件夹”,我目前正在使用一些有用的类.

那么,我可以在这里使用RSL吗?如果没有,何时以及为什么我需要使用RSL(我使用SWC没有任何问题,但我想知道如何使用RSL,而不是制作SWC,即只是通过一堆actionscript类)

谢谢
V.

解决方法

我建议阅读Adobe的RSL简介:

http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf674ba-7fff.html

One way to reduce the size of your applications’ SWF files is by
externalizing shared assets into stand-alone files that can be
separately downloaded and cached on the client. These shared assets
can be loaded and used by any number of applications at run time,but
are transferred only once to the client. These shared files are kNown
as Runtime Shared Libraries or RSLs.

When multiple applications share a core set of components or classes,clients can download those assets only once as an RSL rather than once for each application. The RSLs are persisted on the client disk so that they do not need to be transferred across the network a second time. The resulting file size for the applications can be reduced. The benefits increase as the number of applications that use the RSL increases.

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐