对于 Flash Action Script 3.0,将多个影片剪辑功能合并到单个 swc 文件或 MXP 文件中?
我必须为 Flash(不是 Flex)构建一个 MXP 包。但我有多个组件,例如 HelpSymbolMovieClips(在课堂上有它的),一个图像支架。等等。我需要将 swc 文件合并到一个 MXP 文件中。是否可以?
或者
我如何在单个 SWC 文件中制作所有这些多 movieClip 功能。我对具有多个功能/MoiveClips 的组件的结构有点困惑。就像(图片库组件。
我对如何创建 SWC 有一点了解。我在 教程 所以请帮助我。
I have to build one MXP package for Flash (not Flex). But i have multiple components, somthing like HelpSymbolMovieClips(have its on class), one image holder. etc. I need to combine there swc file into a single MXP file. Is it possible?
or
How can i make a all these multi movieClip functionality in a single SWC file. Am bit confused about the structure of the component which is having multiple functions/MoiveClips. like (Image gallery components.
I have a little knowledge about how to create a swc. and i created one component from the help of a tutorial so please help me.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
看来您可以使用 Flash CS4 附带的 Flex SDK 来处理 Flash 应用程序中的资源,然后导出为 swc 文件。类似于:
您应该能够使用 swf 影片剪辑而不是图像。
例如:
在 Flash CS4 中,选择“文件”>“文件”>“文件”。新建并选择“Flash 文件 (ActionScript 3.0)”。
将 .FLA 文档保存到硬盘驱动器,并将名为bullet_star.png 的 .PNG 文件粘贴到与 .FLA 文件相同的目录中。
将以下代码粘贴到“操作”面板中:
这将提示您正在使用需要 Flex SDK 的功能。
要了解如何执行此操作,请参阅:http ://actionscriptexamples.com/2008/10/26/using-the-flex-sdk-with-flash-cs4/
It appears you can use the Flex SDK that ships with Flash CS4 to assets within your Flash application and then export as a swc file. Something like:
You should be able to use your swf movie clips instead of an image.
For example:
In Flash CS4, select File > New and select “Flash File (ActionScript 3.0)”.
Save the .FLA document to your hard drive and paste a .PNG file named bullet_star.png in the same directory as the .FLA file.
Paste the following code into the Actions panel:
This will prompt you that you are using a feature that requires the Flex SDK.
To learn how to do this see: http://actionscriptexamples.com/2008/10/26/using-the-flex-sdk-with-flash-cs4/