flash插件如何生成

1、通过flash 原生的代码开发插件界面;

2、对于需要使用到的文件,表现mxi 文件, 该文件为adobe extension infomation file, 示例如下

<macromedia-extension

name="Export"
version="1.2.1"
type="SwfPannel">


<!-- Describe the author -->

<author name="test" />


<!-- List the required/compatible products -->

<products>
<product name="Flash" version="6" primary="true" /> 
</products> 


<!-- Describe the extension -->

<description>
<![CDATA[
提供导出转换一体化的工具
]]>
</description>


<!-- Describe where the extension shows in the UI of the product -->


<ui-access>
<![CDATA[
commont
]]>
</ui-access>


<!-- Describe the files that comprise the extension -->

<files>
<file name="jsfl/exportJs.jsfl" destination="$flash/WindowSWF" />
<file name="tool/gfxexport.exe" destination="$flash/WindowSWF" />
<file name="jsfl/ExportPannel.swf" destination="$flash/WindowSWF" />
</files>


<!-- Describe the changes to the configuration -->

<configuration-changes>
</configuration-changes>

</macromedia-extension>


3、最后通过adobe extension manger ,生成扩展包,供别人使用。 

posted on 2015-10-09 21:24  KHacker  阅读(169)  评论(0编辑  收藏  举报