您现在的位置: 网页制作教程网 >> 网页制作 >> Flash教程 >> 文章正文

Flash CS3 组件开发教程

作者:蓝色理想

来源:蓝色理想

热度:

2007-6-20 13:25:53

10.到第9步组件就算做成功了,但要发布给别人用的话,就可以把swc 文件打包成mxp 文件了,而打包之前首先要配置StringUtil.mxi 文件(这个文件就是xml 文件格式),内容如下:

<macromedia-extension
name="StringUtil"
version="1.0"
type="Flash component"> <!-- Describe the author -->
<author name="Kinglong" />
<!-- List the required/compatible products -->
<products>
<product name="Flash" version="9" primary="true" />
</products>
<!-- Describe the extension -->
<description>
<![CDATA[
StringUtil类<br>
有关String工具类。
]]>
</description>
<!-- Describe where the extension shows in the UI of the product -->
<ui-access>
<![CDATA[
This StringUtil Component is accessed by choosing Window > Components > StringUtil.
]]>
</ui-access>
<!-- Describe the files that comprise the extension -->
<files>
<file name="StringUtil.swc" destination="$flash/Components" />
</files>
</macromedia-extension>

官方提供有关mxi 文件格式说明:mxi_file_format.pdf

11.如果你已经安装了 Adobe Extension Manager 1.8 扩展管理器的话,你可以直接双击StringUtil.mxi 文件来生成StringUtil.mxp 文件。或者你先打开 Adobe Extension Manager 1.8 扩展管理器选择“文件”-“将扩展打包...”,选择StringUtil.mxi 文件,然后生成StringUtil.mxp,到这里就贺喜你了,你的Flash CS3 组件开发完成了!

上一页  [1] [2] [3] [4] [5] 

我来说两句:

1分 2分 3分 4分 5分
姓名: *


* 请各位网友遵纪守法并注意语言文明。
网站简介 | 联系方式 | 意见建议 | 版权说明
Copyright © 2007 All rights reserved
滇ICP备06006992号