Подключение к веб-серверу с помощью flash.net.netconnection
-
25-09-2019 - |
Вопрос
Ссылка 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
объект? Я немного запутался об этом как и дальше вниз по разделу на 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.
. Отказ Итак, сервер приложений имеет иметь флэш-удаление?
Решение
Да, если я помню хорошо, вам нужно будет иметь сервер AMF RPC на стороне сервера.
Вы можете посмотреть на AMF PHP, который является решением OpenSource для вызова AMF RPC.
Удачи.