2010-11-17 41 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調用的開源解決方案。

祝你好運。