twzheng's cppblog

『站在风口浪尖紧握住鼠标旋转!』 http://www.cnblogs.com/twzheng

  C++博客 :: 首页 :: 新随笔 :: 联系 :: 聚合  :: 管理 ::
  136 随笔 :: 78 文章 :: 353 评论 :: 0 Trackbacks

组件封装为mxp文件的方法


1。必须安装extension manager(扩展管理器)。 
2。将所有要打包的组件文件拷贝到一个“准备”区域(自定的文件夹),以便于打包。无需使所有文件位于文件夹层次结构的同一级别(您可以在MXI文件中使用<file> 标记指定每个文件相对于安装文件的路径);但是,如果您不打算将文件从它们的“配置”文件夹安装位置直接打包,则跟踪所有文件会更为简便。 
3。为您的功能扩展创建一个功能扩展安装文件(文件名以 .mxi 结尾)。
4。在功能扩展管理器中,选择“文件”>“将功能扩展打包”。 
5。在随即出现的文件选择对话框中,浏览到您的功能扩展安装文件(文件名以 .mxi 结尾)并将其选定。单击“打开”。选择包文件的位置并指定它的名称(以 .mxp 结尾)。单击“保存”。 
注意:功能扩展包文件的名称不得包含空格。它应该是在 Windows 和 Macintosh 上均有效的文件名。 
==============================================
  备注:在扩展管理器应用程序文件夹内的“示例”文件夹中(Samples/Dreamweaver、Samples/Dreamweaver UltraDev 和 Samples/Flash),有几个用于 Dreamweaver、UltraDev 和 Flash 的示例功能扩展安装文件。 
  功能扩展管理器将创建一个包文件,它包含该功能扩展使用的所有文件(包括安装文件)的压缩版本。 
  通过用功能扩展管理器安装该包文件来对其进行测试。当安装包文件后,试用该功能扩展并确保所有功能都按预期的方式运行。
   mxi可以用记事本来编写,我里面有【】说明的地方就是提示你可以改的内容,你可以参考另一个mxi文件来改你的mxi文件,格式如下:
用记事本打开内容是:
<macromedia-extension
    name="【组件名称】"
    version="【版本号】1.0.0"
    type="Flash Component" >
    <author name="【开发者】" />

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

    <description>
    <![CDATA[
【组件介绍】
    ]]>
    </description>

    <ui-access>
    <![CDATA[
【组件使用说明】
    ]]>
    </ui-access>

    <files>
        <file source="【组件源文件】*.fla" destination="$flash/Components" />
        <file source="【Actions/Reference说明】*.xml" destination="$flash/ActionsPanel/CustomActions" />
        <file source="【内置窗口】*.swf" destination="$flash/WindowSWF" />
    </files>

</macromedia-extension>
posted on 2007-08-23 18:36 谭文政 阅读(915) 评论(5)  编辑 收藏 引用 所属分类: Flash ActionScript

评论

# re: 组件封装为mxp文件的方法 2010-06-18 06:55 BrockChris
It is cool that we can receive the <a href="http://lowest-rate-loans.com/topics/credit-loans">http://www.lowest-rate-loans.com</a> moreover, that opens new chances.   回复  更多评论
  

# re: 组件封装为mxp文件的方法 2010-07-30 03:03 term paper
Everyone at school will follow your amazing theme related to this post to make the great quality homework help or just business essay paper.   回复  更多评论
  

# re: 组件封装为mxp文件的方法 2010-10-07 13:47 buy the online essay
Start your essay creating and do not get know the way to complete that? Do not worry, just order custom essays in Internet online and be sure that your custom essay writing are performed by experienced essay writers.   回复  更多评论
  


只有注册用户登录后才能发表评论。
网站导航: 博客园   IT新闻   BlogJava   知识库   博问   管理