读了Developing Applications in MXML这一节,一个简单的介绍。
- Laying out a user interface using containers
讲到有两种Container:layout containers,比如HBox,VBox,Grid等;navigator containers,比如 TabNavigator,ViewStack。
- Adding user interface controls
- Using the id property with MXML tags
- Using XML namespaces
这个有点意思。和后面的一样。举个例子:
xml 代码
- xml version="1.0"?>
- <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:MyComps="containers.boxes.*">
-
- <mx:Panel title="My Application" paddingTop="10" paddingBottom="10"
- paddingLeft="10" paddingRight="10">
-
- <MyComps:CustomBox/>
-
- <!---->mx:Panel>
- <!---->mx:Application>
xmlns:MyComps="containers.boxes.*" 意味着有个叫CustomBox的MXML组件在container/boxes目录下,不过这里名字说的不明不白的,待查。
- Using MXML to trigger run-time code
- Binding data between components
- Using RPC services
三种,WebService,HTTPService,RemoteObject。
- Storing data in a data model
还是三种,<mx:model>,<mx:xml>,<mx:xmllist>。</mx:xmllist></mx:xml></mx:model>
- Validating data
有点意思,不过
xml 代码
- <mx:PhoneNumberValidator id="pnV2" source="{cellPhoneInput}" property="text"/>
难道Flex预备了N多的Validator?连PhoneNumberValidator都备好了?待查。
- Formatting data,不错
- Using Cascading Style Sheets (CSS)
- Using skins
- Using effects
上边这三个基本上要靠Designer了,呵呵
- Defining custom MXML components
分享到:
相关推荐
Understand MXML containers * Create transitions * Create data-driven applications with XML * Interface Flex with ColdFusion * Understand the power of states <br>Flex 2 represents ...
Understand MXML containers * Create transitions * Create data-driven applications with XML * Interface Flex with ColdFusion * Understand the power of states <br>Flex 2 represents ...
What’s new in Adobe AIR 2 Text Layout Framework Working with Fonts Working with Flex 3 and 4 components in the same project Migrating Flex 3 projects to Flex 4 New features from Flash Builder 4 ...
Flex4视频教程_02-02用mxml自定义事件.rar
Flex 2 represents something of a revolution in web applications. It is the next evolutionary step of Flash, which has grown from a web animation tool to a powerful enterprise web design and ...
flex -MXML语法,介绍flex 的 mxml的基本语法构成,适合一般学习者使用
Flex 3: A Beginner's Guide is an easy-to-follow, fast-paced tutorial that allows you to fully grasp the fundamentals, including MXML, ActionScript, Flex Builder, states, transitions, and behaviors....
2>FLEX和JAVA整合的技术文档。 【适用于】 1>FLEX入门 2>具有FLEX基础的JAVA程序员 3>具有JAVA基础的FLEX程序员 4>JAVA程序员 4>FLEX程序员 【目录如下】 Flex大礼包 └─Flex教程 第01章 Flex简介.ppt 第02章 ...
Part of the popular "Adobe Developer Library" co-published by O'Reilly and Adobe, "Enterprise Development with Flex" goes well beyond Flex tutorials and product documentation to suggest best practices...
minixml2.5最新的版本。 嵌入式xml 解析、查找、生成、遍历 功能,全部实现是标准c,移植很容易。 最新的2.5,修改了很多bug。 这个压缩包,里下载完了,直接就可以在liunx下编译安装。 如果是在windows下的话,只需要...
MXML语法.MXML flexview actionscript
pdf格式的flex的mxml语法,适合想学习flex的新手
如果你的flex插件出现mxml无法打开的问题,请下载此文件,同时参考:http://www.tekool.net/blog/2008/06/28/flex-builder-3-plugin-dont-work-with-eclipse-34/或者:...
1. In Flex builder, create a new Flex project (File -> New -> Flex project). 2. Copy all the contents...4. In Flex builder, right-click on any of the sample mxml applications and click "Run Application
About MXML programming files and Flex usage.
2. Copy all the contents of the ArcGIS_Flex\samples\src folder to src folder of the Flex project created above. 3. In Adobe Flash Builder, add the API Library to the project through Project -> ...
4. In Adobe Flash Builder, right-click on any of the sample mxml applications and click "Set as Default Application". 5. In Adobe Flash Builder, right-click on any of the sample mxml applications and...
Flex,它是强大的矢量动画编辑工具,在做动画起家之后,...Flex是通过java或者.net等非Flash途径,解释.mxml文件组织components,并生成相应得.swf文件。Flex的component和flash的component很相似,但是有所改进增强。
NULL 博文链接:https://yangyangmyself.iteye.com/blog/2116383
flex-iframe1.5.1.zip解压找到flex-iframe-1.5.1\flex-iframe-1.5.1\bin\flex-iframe-1.5.1.swc放入flex项目的libs里面如果不是web项目就放倒lib里面,然后在你的mxml的头部里输入xmlns:名字(你自己喜欢怎么写)=...