是否可以引用 Flex 库而不将其构建到 Flex 4 项目中?
是否可以构建一个引用或使用 Flex 4 库(或任何兼容的库)的 Flex 4 应用程序,而无需项目将它们编译到项目的主 SWF 中。
简而言之,我有一个项目,我想从服务器加载 flex 4 库,这可能吗?我看过有关编译器设置的文章。这可以是从服务器加载库的解决方案吗?
Is it possible to build a flex 4 application that references or uses the flex 4 libraries (or any libraries that are compatible) without the project compiling them into the main SWF of the project.
So in a nut shell, I have a project and I want to load the flex 4 library from the server, is this possible? I've seen articles on compiler settings. Could this be the solution to loading the library from the server?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这是可能的并且建议!
SWZ 是该库的 Adobe 签名版本,可以存储在 Flash Player 中,并且不受浏览器缓存清除的影响。
您必须允许您的网络服务器提供 .SWZ 文件,因此请在您的 Apache/IIS 中添加 mimetype application/x-swz 或 application/x-shockwave-flash。
SWF 版本用于故障转移,但在用户清理缓存时将被清除。
构建后,您将在 bin-debug/bin-release 中找到 .swz 和 .swf 文件。
It's possible and advised !
SWZ is an Adobe signed version of the library which can be stored in the Flash Player and is not subject to browsers cache purges.
You have to allow your webserver to serve .SWZ files, so add a mimetype application/x-swz or application/x-shockwave-flash in your Apache/IIS.
The SWF version is used for failover, but will be purged in case the user clean his cache.
You'll find the .swz and .swf files in your bin-debug/bin-release after a build.