闪存组件使用Flex SDK [英] Flash Components with Flex SDK

查看:111
本文介绍了闪存组件使用Flex SDK的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在使用Flex SDK编译的ActionScript 3类成瑞士法郎。某些组件不包括像位于fl.controls组件SDK。

I am using the flex SDK to compile actionscript 3 classes into an swf. Some components are not included with the SDK like the fl.controls components.

我必须获取访问闪存组件哪些选项?我看到别人提到我可以将它们导出到Flash中临SWC文件,但我宁可不要购买闪存临只使用一些组件。是否有任何其他人工的方式来执行此无需购买或使用Flash专业版?

What options do I have for getting access to the flash components? I've seen others mention that I can export them to a swc file within Flash Pro, but I would rather not have to purchase Flash Pro to just use some components. Is there any other manual way to perform this without purchasing or using Flash Pro?

感谢

推荐答案

您不需要使用Flash Pro来做到这一点。 这是我做的:

You don't need to use Flash Pro to do that. here's what I do:

创建佛罗里达州和转储,你需要在时间轴上的所有组件。 然后从那里你可以删除它们(或让它们),它其实并不重要,只要你看到他们在图书馆。你甚至可以直接将它们移动到库中。

create an Fla and dump all the components on the timeline that you need. you can then remove them from there (or leave them), it doesn't really matter, as long as you see them in the library. You can even move them directly into the library.

然后在仅发布选项中选择闪存,并且在闪光灯选项卡中选择导出到SWC选项。

Then under publish options select flash only, and in the flash tab select the export to swc option.

现在,当您编译,甚至当使用Ctrl-输入SWC被编译。

now when you compile, even when using Ctrl-Enter the swc gets compiled.

下一步将是你不一样,因为我使用闪光灯开发(这是免费的),我复制SWC到我的项目的lib文件夹,并在节目中我就右键单击它并选择添加到库中。完成的。

The next step would be different for you, because I use flash develop (which is free) I copy the swc into my project's lib folder, and in the program I right-click on it and select add to library. done.

我不知道你是怎么选择添加到库中的弯曲,但它是可能的。闪存开发使用Flex编译器,它这样做,和Flash做它的井。因此捷克项目设置这个选项。

I don't know how you select the add to library in flex, but it is possible. Flash develop uses the flex compiler and it does it, and flash does it as-well. so czech the project setting for this option.

这篇关于闪存组件使用Flex SDK的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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