问题描述
我GOOGLE了很多试图找到如何正确地导入和使用的文件名为.swc在Flash CS 4,尝试了很多不同的方法,但似乎没有工作。
我所做的是:1.把它放在我的D:\ Program Files文件(x86)的\的Adobe \的Adobe Flash CS4 \ EN \配置\组件文件夹中。但它确实不是在组件检查显示出来。2.增加了它的发布设置为库和外部库,似乎仍然不能使用它。
我也尝试添加导入org.osflash.signals;每个方法之后,但我收到错误1172:定义org.osflash:信号也不会被发现。
所以,我要求的是一个简单的方法来获取包名为.swc工作code-明智的进口等所有类的文件名为.swc是因为你可能已经猜到的。
在此先感谢。
(快捷键是PC)的
- 将你的库文件,无论你想
- 现在,你有两个选择:
- 您希望能够使用它的全部,你所做的项目
- 进入preferences面板(按Ctrl + U)
- 单击按钮动作script3参数,并添加在那里是你的深港西部通道的路径(点击第二个+按钮)
- 您希望它仅适用于当前项目
- 在进入出版物参数(CTRL + SHIFT + F12)
- 单击闪存标签
- 在ActionScript 3.0中前点击参数按钮
- 点击库路径选项卡,并添加SWC的路径。
- 您希望能够使用它的全部,你所做的项目
I've googled a lot trying to find how to properly import and use .swc files in Flash CS 4, tried lots of different methods but none seem to work.
What I've done is:1. Placed it in my "D:\Program Files (x86)\Adobe\Adobe Flash CS4\en\Configuration\Components" folder. It does however not show up in the component inspector.2. Added it in Publishing Settings as a Library and External Library, still can't seem to use it.
I've also tried adding "import org.osflash.signals;" after each method but I receive the error "1172: Definition org.osflash:signals could not be found."
So what I'm asking for is an easy way to get the .swc package working code-wise with all classes imported etc. The .swc file is as you may have guessed as3signals.
Thanks in advance.
(shortcut are for PC)
- Put your library file wherever you want
- Now you have two choices:
- You want to be able to use it for all the project you made
- go into preferences panel (ctrl+U)
- click on the button action script3 parameters, and add the path where is your swc (click on the second '+' button )
- You want it only for your current project
- go into publication parameters (ctrl+shift+F12)
- click on the flash tab
- click on the parameters button in front of actionscript 3.0
- click on the library path tab, and add your swc path.
- You want to be able to use it for all the project you made
这篇关于如何正确地在Flash CS 4使用的软件包名为.swc的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!