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吗?
发布于 2010-11-17 14:57:56
是的,如果我记得很好,您需要在服务器端有一个AMF服务器。
您可以查看AMF,它是AMF调用的开源解决方案。
祝好运。
https://stackoverflow.com/questions/4205107
复制相似问题