zoukankan      html  css  js  c++  java
  • 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>
  • 相关阅读:
    基于jquery的web在线流程图设计器gooFlow
    angularJS学习笔记二
    angularJS学习笔记一
    JavaScript作用域链详解
    图片查看器(可拖拽,缩放,轮播)
    小议window.event || ev
    Vue安装准备工作
    让VS2013添加新类时自动添加public关键字
    win10太垃圾,真的不好用。
    Bind 和 ScaffoldColumn[转]
  • 原文地址:https://www.cnblogs.com/1000pen/p/2742254.html
Copyright © 2011-2022 走看看