Flex学习中
2010.2.21 初步印象
1. Flex工程的核心就是那个mxml文件,所有的代码或结构都是围绕它;
2. 与这个mxml文件同名的as文件,他们之间的关系有点像html与js的关系,而且还不用include;
3. 最终会生成一个与mxml文件同名的html文件,而flash文件会被嵌入进去的;
2010.2.22 与Sping,Hibernate集成
看了这篇文章:http://www.ibm.com/developerworks/cn/web/0912_zouxiang_flex_spring/
集成了Flex与Spring,但是Flex使用Cairngorm框架还不会处理,接下来要弄明白2件事:
1. Spring如何与Flex集成;
2.
Cairngorm框架如何使用,尤其是如何与Spring集成使用;
相关文档:
flex弹出对话框示例程序分为两部分:Main.mxml和SimpleTitleWindowExample.mxml,其中Mail.mxml为主程序文件,SimpleTitleWindowExample.mxml为对话框文件,可以通过修改SimpleTitleWindowExample.mxml文件来修改对话框上的组件。
Main.mxml
<?xml version="1.0" encoding="ut ......
Flex Project Nature/Add Flex Project Nature 执行后出现以下错误,
Severity and Description Path Resource Location Creation Time Id
Server SDK: Directory does not contain a Flex SDK.
需要在工程属性的Flex co ......
第一:拉个DateFormatter 控件
<mx:DateFormatter id="df" formatString="YYYY-MM-DD"/>
精确到时分秒则是YYYY-MM-DD H:NN:SS
第二:写个函数
private function formatStart(item:Object,column:DataGridColumn):String{
  ......
flex和后台交互数据最重要是通过异构传输的httpserivce的xml结构。而高效率合理的异步传输数据是flex的开发中的核心。我就公开一下自己面向接口的httpservice的写法。希望有人可以指正。
首先第一个接口是决定通过获取xml的接口:
package com.sunshine.framework. ......
http://corlan.org/2008/11/13/flex-and-php-remoting-with-zend-amf/ ZEND+FLEX收藏
http://www.keithcraigo.com/archives/66ZEND+FLEX认证
http://www.keithcraigo.com/archives/181ZEND+FLEX认证
http://ressources.mediabox.fr/tutoriaux:flashplatform:dynamique:remoting:zendlogin:zendlogin1ZEND+FL ......