Flash Remoting类 包 功能简述
Connection mx.romoting Connection类是一个方法集合,使用该集合中的方法可以创建到Flash Romoting网关的连接,并且使用这些方法也可以调用远程方法并处理结果.
DataGlue mx.romoting 使用DataGlue类可以格式化记录集数据以更加适用于ListBox组件,ComboBox以及其他的Flash UI组件
Fault mx.rpc 该对象包含了方法调用时出错的详细信息
FaultEvent mx.rpc 如果对远程服务的调用出错(应用程序服务器出错),Flash Remoting 就会返回一个FaultEvent对象,该对象作为出错时处理函数的参数.
Log mx.services 在Service构造器中,可以定义一个Log对象作为参数,该参数是可选的
NetDebug mx.remoting.debug NetDebug 类用于进行调试,它可以将Flash影片应用程序调用信息(包括参数).Flash Remoting信息和应用程序服务器信息(包括结果和调用信息)显示在NetConnectionDebugger面板上
NetDebugConfig mx.remoting.debug NetDebugConfig类在开发阶段可以用来将数据发送给NetConnectionDebugger面板
NetServices mx.romoting NetServices 已经不再建议使用了,虽然功能还可以,但是如果使用Flash Remoting for flash mx 2004 as2的话,最好用Service类
PendingCall mx.rpc 对远程服务方法的调用都会返回一个PendingCall对象实例
RecordSet mx.remoting RecordSet对象实例用来处理记录集,记录集可以是从服务器返回的,也可以是本地创建的
RelayResponder mx.rpc RelayResponder类提供了一种机制,使用该机制可以将结果和出错事件传递给一个对象处理方法函数
RemotingConnector mx.data.components RemotingConnector 是一个组件,使用该组件可以直接调用Flash Remoting MX网关提供的远程方法,而且可以使用该组件进行数据绑定,这正是 Flash mx 2004的优点
Responder mx.rpc Responder接口可以声明一个ResultEvent对象,从而可以实现一个远程方法调用的回应器
ResultEvent mx.rpc 对远程服务的调用会返回一个ResultEvent对象,该对象作为结果处理函数的参数
Service mx.remoting Service类为远程服务(该远程服务必须是通过Flash Remoting MX网关提供的)提供了一个客户端处理
AMFPHP资料:
1. 英文
- flash-db.com tutorials and forum on AMFPHP
- sephiroth.it tutorials and blog on AMFPHP
- Macromedia Remoting Developer Center
- flashcoders mailing list
- amfphp mailing list
- AMFPHP development blog
- Flash Remoting book companion site
- Setting up PHP on your webserver
- Sönke Rohde – tutorial
- Jesse Warden – Flash, Flex and AMFPHP
- SwapDepths tutorials
2. 中文
- AMFPHP v1.0 MS2 tutorials
- download, install, hello world
- pageable recordset working examples
- using web service with amfphp
- authenticate with setCredential()
- Another hello world tutorial
- luar的教学:http://www.luar.com.hk/flashbook/archives/000168.php
- 淡湮mmug网聚教学:http://breezecentral.zerone.com.tw/p66309923/