You use two languages to write Flex applications: MXML and ActionScript. MXML is an XML markup language that you use to lay out user interface components. You also use MXML to declaratively define nonvisual aspects of an application, such as access to data sources on the server and data bindings between user interface components and data sources on the server.
您可以使用两种语言编写Flex应用程序:MXML和ActionScript。 MXML是一种可用于布置用户界面组件的XML标记语言,您还可以使用MXML来定义一个程序的非可视化方面,例如,访问服务器端的数据源,或者是将用户界面和服务器端的数据源绑定。
Like HTML, MXML provides tags that define user interfaces. MXML will seem very familiar if you have worked with HTML. However, MXML is more structured than HTML, and it provides a much richer tag set. For example, MXML includes tags for visual components such as data grids, trees, tab navigators, accordions, and menus, as well as nonvisual components that provide web service connections, data binding, and animation effects. You can also extend MXML with custom components that you reference as MXML tags.
如同HTML一样,MXML提供了可以用来定义UI的标记。如果曾经使用过HTML,你会发现MXML和HTML很相似。然而,MXML比HTML更有条理,并提供更丰富的标记集合。例如,MXML中包含了数据网格,树,导航栏,折叠面板,菜单等可视组件标签,还提供了连接Web服务,数据绑定,以及动画效果等非可视组件。你还可以通过拓展MXML标记来实现你自己定制的MXML标记。
One of the biggest differences between MXML and HTML is that MXML-defined applications are compiled into SWF files and rendered by Adobe(R) Flash(R) Player or Adobe(R) AIR(TM), which provides a richer and more dynamic user interface than page-based HTML applications.
与MXML和HTML的最大区别之一,是MXML定义的应用程序被编译成
SWF文件并且由Adobe(R)Flash(R)播放器或Adobe(R)的AIR(商标)(基于HTML的,提供了更丰富并且更加动态性UI的程序)来执行。
You can write an MXML application in a single file or in multiple files. MXML also supports custom components written in MXML and ActionScript files.
你可以将一个MXML程序写成一个或者多个文件。MXML同时支持写在MXML和ActionScript文件中的自定义组件。
分享到:
相关推荐
MXML语法.MXML flexview actionscript
mxml 适合用于嵌入式 xml 解析的轻量级的工具,在下载包的 mipsel 有编译好的.a 文件
mxml 源码
flex使用容器和MXML样式.pdf格式的 英文的哦
xml、mxml总结。xml是可扩展标记语言,标准通用标记语言的子集。此处总结基于w3cSchool上关于xml所属api进行总结。
mxml-2.12.tar.gz
pdf格式的flex的mxml语法,适合想学习flex的新手
minixml2.5最新的版本。 嵌入式xml 解析、查找、生成、遍历 功能,全部实现是标准c,移植很容易。 最新的2.5,修改了很多bug。 这个压缩包,里下载完了,直接就可以在liunx下编译安装。 如果是在windows下的话,只需要...
mxml 解析器, vc6.0平台, 在一些需求不大的场合可以使用!
mxml开源项目
一个上课用的ppt文档,更容易让你对mxml更为的了解。。
如果你的flex插件出现mxml无法打开的问题,请下载此文件,同时参考:http://www.tekool.net/blog/2008/06/28/flex-builder-3-plugin-dont-work-with-eclipse-34/或者:...
Demo
flex入门教程,主要介绍了mxml和ActionScript的简单应用,适合初学者,高手就没必要下载啦
ActionScript 3.0 语言和组件参考概述、MXML入门、FLEX入门帮助。
Mini-XML是一个小型的开源的XML解析器,采用 C 语言开发。该解析器最大的特点就是小型、无须依赖其他类库,只需要 GCC 编译器 和 make 程序即可编译,支持 UTF-8/UTF-16 编码。
About MXML programming files and Flex usage.
实现了计算器的加减乘除开根号和幂操作。没有去实现AS和MXML分离。 想研究的同学下载吧。。将文件解压后导入到FB 3.0 中
mxml-2.5,非常小巧好用的xml组织与解析的库的源代码。是msxml的绝佳替代品,不依赖任何其他库,操作也非常方便。
非常好用的XML解析库mxml-2.2.1.tar.gz