mxp组件开发及jsfl文件

最近对mxp组件开发感兴趣,所以研究了下。总结如下:

1.jsfl文件就是flash IDE下的命令文件,可以执行相应的命令,让flash做相应的工作。

2.将msi文件配置好,在库里面建好元件然后导出swc,自己写好jsfl文件,通过Manage Extension 打包成mxp文件,然后通过Manage Extension 安装,即可形成command命令和组件。

 

mis文件模板:

 1 <Macromedia-extension name="TestComponent" version="1.0" type="Flash component"> <!-- Describe the author -->
 2 
 3 <author name="TestComponent" />
 4 
 5 <!-- List the required/compatible products -->
 6 
 7 <products>
 8 
 9 <product name="Flash" version="9" primary="true" /> 
10 
11 </products> 
12 
13 <!-- Describe the extension -->
14 
15 <description>
16 
17 <![CDATA[
18 
19 测试的<br>
20 
21 组件
22 
23 ]]>
24 
25 </description>
26 
27 <!-- Describe where the extension shows in the UI of the product -->
28 
29 <ui-access>
30 
31   <![CDATA[Commands > TestComp]]>
32 
33 </ui-access>
34 
35 <!-- Describe the files that comprise the extension -->
36 
37 <files>
38 
39 <file source="TestComponent.swc" destination="$flash/Components" />
40 
41 <file source="xssss.jsfl" destination="$flash/Commands" />
42 
43 </files>
44 
45 </macromedia-extension>

转载于:https://www.cnblogs.com/1000pen/archive/2012/10/27/2742254.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值