ActionScript 3.0参考说明了以下flash.net.NetConnection
:
The NetConnection class creates a two-way connection between a client and a server. The client can be a Flash Player or AIR application. The server can be a web server, Flash Media Server, an application server running Flash Remoting, or the Adobe Stratus service. Call NetConnection.connect() to establish the connection.
这是否意味着我使用NetConnection
对象与任何Web服务器建立常规HTTP连接?我对connect()
方法的connect(): Creates a two-way connection to an application on Flash Media Server or to Flash Remoting, or creates a two-way network endpoint for RTMFP peer-to-peer group communication....Pass an "http" URL to connect to an application server running Flash Remoting.
方法部分进一步说明了一点感到困惑。那么,应用服务器 有 来进行Flash Remoting吗?
答案 0 :(得分:0)
是的,如果我记得很好,你需要在服务器端安装一个AMF RPC服务器。
您可以查看AMF PHP,它是AMF RPC调用的开源解决方案。
祝你好运。