2010-11-17 43 views
0

Web服务器ActionScript 3.0参考说以下有关flash.net.NetConnection连接到使用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.

这是否意味着我做一个普通的HTTP连接使用NetConnection对象的任何Web服务器?我对此有点困惑,因为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

是的,如果我记得好,你需要在服务器端有一个AMF RPC服务器。

您可以看看AMF PHP,这是AMF RPC调用的开源解决方案。

祝你好运。