You can deploy your application as a compiled SWF file or as a SWF fuke included in an AIR application, or if you have Adobe LiveCycle Data Services ES, you can deploy your application as a set of MXML and AS files.
你可以部署你的程序作为一个swf文件,或者作为swf包含在AIR程序中,或者如果您有Adobe LiveCycle数据服务ES,您可以将MXML和AS文件作为你的应用程序的一个集合部署在上面。
If you are using Flex Builder, you compile and run the compiled SWF file from within Flex Builder. After your application executes correctly, you deploy it by copying it to a directory on your web server or application server. Users then access the deployed SWF file by making an HTTP request in the form:
http://hostname/path/filename.html
Flex also provides a command-line MXML compiler, mxmlc, that lets you compile MXML files. You can use mxmlc to compile hello.mxml from a command line, as the following example shows:
cd flexInstallDir/bin
mxmlc --show-actionscript-warnings=true --strict=true c:/appDir/hello.mxml
In this example, flexInstallDir is the Flex installation directory, and appDir is the directory containing hello.mxml.
The resultant SWF file, hello.swf, is written to the same directory as hello.mxml.
For more information about mxmlc, see “Using the Flex Compilers” on page 125 in Building and Deploying Adobe Flex 3 Applications. For more information about the debugger version of Flash Player, see “Logging” on page 227 in
Building and Deploying Adobe Flex 3 Applications.
如果您正在使用Flex Builder,您从Flex Builder的内部编译和运行SWF文件。在您的应用程序执行正确之后,您可以通过将其复制到您的Web服务器或应用服务器目录中的方式来进行部署。然后,用户再通过一个HTTP请求的形式访问已经部署的SWF文件:
http://hostname/path/filename.html
flex公司也提供了一个命令行MXML编译器,mxmlc,它可以让您编译MXML文件。您可以如下面的例子那样使用mxmlc从命令行对hello.mxml进行编译:
cd flexInstallDir /bin
mxmlc --show-actionscript-warnings=true --strict=true c:/appDir/hello.mxml
在这个例子中,flexInstallDir是的Flex的安装目录,appDir是包含hello.mxml的目录。
由此产生的SWF文件hello.swf被写入到hello.mxml的同一目录内。
分享到:
相关推荐
关于Flex4不生成mxml对应的html文件的解决方法,有时候mxml文件编译时没有生成对应的swf文件和html文件。
在页面里加载SWF文件并使之运动起来。加入状态控制。最后使SWF文件在mxml页面里360度的随机运动
mxml 适合用于嵌入式 xml 解析的轻量级的工具,在下载包的 mipsel 有编译好的.a 文件
Flex 与 Flash 在我们的印象里 Flash ...同样地,Flex 程序中的 MXML 和 ActionScript 代码首先全部被转换为 ActionScript 然后编译为 SWF 文件。当你把 SWF 文件部署到服务器上时,使用者可以从服务器获取到这个程序。
xml文件解析,可以实现XML文件的解析功能
Mini-XML是一个小型的开源的XML解析器,采用 C 语言开发。该解析器最大的特点就是小型、无须依赖其他类库,只需要 GCC 编译器 和 make 程序即可编译,支持 UTF-8/UTF-16 编码。
NULL 博文链接:https://liujianshiwo.iteye.com/blog/624512
MXML最终编译成SWF文件。MXML就是在XML上写HTML 。MXML比HTML更结构化,提供了跟丰富的标签。 <br>ActionScript和JavaScript都是客户端语言。我对ActionScript上手没有一点困难。 <br>ActionScirpt完全面向...
大多数MXML标签相当于ActionScript 3.0的类或者类属性。Flex解析MXML标签,并将其编译成一个包含对应ActionScript对象的SWF文件。
编译MXML详解及代码详解[定义].pdf
mxml 源码
MXML语法.MXML flexview actionscript
flex使用容器和MXML样式.pdf格式的 英文的哦
mxml-2.12.tar.gz
xml、mxml总结。xml是可扩展标记语言,标准通用标记语言的子集。此处总结基于w3cSchool上关于xml所属api进行总结。
pdf格式的flex的mxml语法,适合想学习flex的新手
如果你的flex插件出现mxml无法打开的问题,请下载此文件,同时参考:http://www.tekool.net/blog/2008/06/28/flex-builder-3-plugin-dont-work-with-eclipse-34/或者:...
minixml2.5最新的版本。 嵌入式xml 解析、查找、生成、遍历 ...这个压缩包,里下载完了,直接就可以在liunx下编译安装。 如果是在windows下的话,只需要根据readme.txt的提示,修改一个小地方,就可以运行。非常方便。
mxml 解析器, vc6.0平台, 在一些需求不大的场合可以使用!
mxml开源项目