0

我正在运行两个都使用ASWing UI 库的 swf,有没有办法只加载一次 ASWing 的共享库?目前,我正在为同一页面上的每个 swf 文件加载库。

ps:两个SWF是一样的

4

1 回答 1

1

As far as i know there is not other way to share RSLs apart from loading them again. This shouldn't be an issue for you as the first swf to load it will cache it, as per Adobe's docs:

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.

于 2012-05-02T11:02:00.513 回答