Flex的图形资源:SWF或SWC? [英] Flex graphic assets: SWF or SWC?

查看:311
本文介绍了Flex的图形资源:SWF或SWC?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是一个更好的格式存储图片资源Flex应用程序,SWF或SWC?

Which is a better format to store graphic assets for a Flex application, SWF or SWC?

有没有真正的差异,如果是这样它们是什么?

Are there any real differences, and if so what are they?

推荐答案

在一个单独的SWF资产被加载并包括在运行时。

Assets in a seperate SWF are loaded and included at runtime.

在SWC资产被加载并列入/在编译时进行编译。

Assets in a SWC are loaded and included / compiled at compile time.

您也可以直接在编译时(检查出嵌入元数据)嵌入主要的应用程序SWF中的资产。

You can also directly embed assets within the main app SWF at compile time (check out the Embed meta data).

当然,你也可以加载单独的资产(如PNG)直接运行。

Of course, you can also load individual assets (such as a PNG) directly at runtime.

至于哪个更好,这真的取决于你正在努力做什么,以及如何在资产的使用。

As far as which is better, it really depends on what you are trying to do, and how the assets are used.

迈克

这篇关于Flex的图形资源:SWF或SWC?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆