我正在使用 RSL 框架来减少 SWF 文件大小。 我正在使用 Flex Builder 来编译 SWF。
我注意到,当我在 SWF 中使用 RSL 进行编译时,大小显着减小。 但是创建的SWF框架相当大。 我该如何处理新创建的 SWF 框架? 我是否将其放置在我的服务器上并让 Flash Player 拾取它、缓存,然后坐下来享受改进的性能,还是还有其他步骤?
我不想在每次应用程序受到攻击时都有自定义 swf 加上框架 swf 加载(不是从缓存)的额外开销。
I'm using framework RSL in a bid to reduce my SWF filesize. I'm using Flex Builder to compile the SWF.
I notice a substantial size reduction when I compile with RSLs in my SWF. However the framework SWF which is created is pretty big. What do I do with the newly created framework SWF? Do I place this on my server and let flash player pick it up, cache and then sit back and enjoy the improved performance or is there another step?
I don't want to have the extra overhead of my custom swf plus the framework swf getting loaded(not from cache) each time the application is getting hit.
发布评论
评论(2)
除了 RSL swf 文件大小之外,还可以通过使用模块、避免嵌入对象等来减小文件大小。 您可以从这篇文章中获得更多详细信息链接此处
http://askmeflash.com /article_m.php?p=article&id=9
other than RSL swf filesize can also be reduced by using modules , avoiding embedding objects etc . More details you can get here from this article Link here
http://askmeflash.com/article_m.php?p=article&id=9
我假设您已编译应用程序以使用 Flex 框架作为 RSL(详细信息 此处)。
框架 RSL 通常由 Flash Player 缓存(而不是由浏览器缓存,就像普通用户 RSL 的情况一样)。
当您加载应用程序时,Flash Player 会检查框架 RSL 是否存在于其缓存中,如果不存在,则加载它,然后运行您的应用程序。
从文档中:
通读该页一次。
I am assuming that you have compiled your application to use the Flex frameworks as a RSL (as detailed here).
The framework RSL is typically cached by the Flash Player (rather than the browser -- as is the case with normal user RSLs).
When you load your application, Flash Player checks if the framework RSL is present in its cache or not, and if it is not, loads it and then runs your application.
From the documentation:
Read through the page once.