易截截图软件、单文件、免安装、纯绿色、仅160KB

ZEND+FLEX认证+收藏

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+FLEX认证
Flex and PHP: remoting with Zend AMF
The latest PHP library to add support for AMF and remoting is Zend Framework. The preview prelease version 1.7
offers a new component Zend_AMF that lets you create Flex applications
that talk to PHP backends using remoting. Since I am a big fan of
remoting as a way to get data to your Flex/AIR clients, I wanted to add
a short post explaining how to use it. Here
is another post I wrote on remoting with AMFPHP. Actually this post is a part of a larger article
I did for Adobe Developer Connection. I want to keep it more focused, so I wrote this one.
You can download a Flex Builder project that contains the code I explain in this article from here
. Inside of the archive you will find a readme.txt file explaining what to do with it.
Installing the Zend Framework
After downloading
the Zend Framework 1.7 archive, extract the files. Next, you have to
add the library folder to your PHP include path. Open the php.ini file
and add the path to the library folder to the include_path; on my
machine looks like:
include_path = “c:htdocszend_frameworklibrary”
Next, save the file and restart your web server. You can read more about installing Zend Framework here
. With this, you’ve completed the “installation” of Zend Framework.
What is AMF and remoting and why should you use it?
If you already know these answers, you may want to skip to the next
section. Let’s start by understanding remote procedure calls. Remote
procedure calls let Flex applications  make direct calls on the methods
of your server side classes. Using BlazeDS or LiveCycle Data Services
you can expose your Java


相关文档:

Flex窗口访问父窗口demo

1.如果使用MVC框架,相信这并不是一个问题。而如果没有使用的话,可以用类似的方法设置一个单例,子窗口和父窗口通过这个单例来交互消息,如果需要解耦,请发送自定义事件。总之,只要按照MVC思路来做就可以了。
2.类似JS,在子窗口的构造函数里增加一个参数,将父窗口传参进去。MXML没有构造函数,用一个属性来保存父窗口 ......

flex 小技巧

两个不同的flex自定义控件怎么相互控制?
比如当在一个只有add方法的控件框mxml里,当提交成功的时候,怎么更新另外一个有datagird控件框的mxml?
就可以用如下方法:在主应用程序里面,对子控件datagird进行操作;
1、parentApplication.refreshAdmin();       //在add子控件
2、public ......

Flex的DataGrid中时间如何格式化

第一:拉个DateFormatter 控件
<mx:DateFormatter id="df" formatString="YYYY-MM-DD"/>
精确到时分秒则是YYYY-MM-DD H:NN:SS
第二:写个函数
    private function formatStart(item:Object,column:DataGridColumn):String{
            ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号