当前位置:首页>网络学院>网页制作>Flash教程>文章内容

Flash CS3 组件开发教程

[ 来源:www.it55.com | 作者: | 时间:2007-07-12 | 收藏 | 推荐 ] 【

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

45398 www.it55.com it55学习IT知识,享受IT生活 4dfkjn

<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" />

it55.com

</files>
</macromedia-extension>
www.it55.com在线教程

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

vd;k;l www.it55.com rdfg

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

45398 www.it55.com it55学习IT知识,享受IT生活 4dfkjn

(阅读次数:

返回顶部
共2页: 上一页 [1] 2 下一页  

网友评论

[以下评论为网友观点,不代表本站。请自觉遵守互联网相关政策法规,所有连带责任均有评论者自负。]
[不超过250字]

热门文章