flash.net.NetConnectionを使用してWebサーバーへの接続
-
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.
これは私が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 Remotingを持っていますか?
解決
はい、私は良いを思い出すならば、あなたはサーバー側でAMF RPCサーバーを持っている必要があります。
あなたはAMF RPC呼び出しのためのオープンソースソリューションですAMF PHP、で見ることができます。
幸運ます。