Search code examples
c#javaflashactionscriptlocalconnection

Are there wrappers for the Actionscripts's LocalConnection for C# or Java?


I want to communicate with the LocalConnection framework of Flash via C#/Java/C++. My search for already implemented wrappers was not as successfull as I wish ;). There exist several servers (like FluorineFx) which support binding of C# objects to the LocalConnection. The problem is I am not looking for a server but only for a simple (marshalling of strings is enough) wrapper. After reading the AMF specification that implementing my own wrapper might take some time ;) which leads to my question:

Does anybody knows a simple wrapper (C#/Java/C++) for the LocalConnection framework?

Edit: I am looking for a AMF3 implementation.


Solution

  • After some thinking I discovered another approach: I build the "client" in ActionScript and use the compiled SWF file on a C# form (via the ActiveX Showckwave player). The client now communicates with the LocalConnection and to the Host (C#) application via ExternalInterface.