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.

这是否意味着我做一个普通的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?

有帮助吗?

解决方案

是的,如果我记得不错,你需要对服务器端的AMF RPC服务器。

可以看AMF PHP,这对于AMF RPC调用一个开源溶液。

好运。

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top