Pregunta

La referencia de ActionScript 3.0 dice lo siguiente acerca de 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.

¿Quiere decir esto que hago una conexión HTTP normal a cualquier servidor web utilizando un objeto NetConnection? Estoy un poco confundido acerca de esto como más abajo en la sección sobre el método connect() dice 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.. Por lo tanto, el servidor de aplicaciones tiene para que Flash Remoting?

¿Fue útil?

Solución

Sí, si recuerdo bien, usted necesita tener un servidor AMF RPC en el lado del servidor.

Usted puede mirar en el AMF PHP, que es una solución de código abierto para la llamada RPC AMF.

Buena suerte.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top