can someone please suggest way to communicate between Air(Action script) App and node.js server?
e.g.
-
Communication between PHP and Flash(Action Script) application using AMFPHP
-
BlazeDS for Java+Adobe Flex and Adobe Integrated Runtime (AIR)
Please send me your suggestions, any tutorial, or PoC sample code
Thanks in Advance.
Here is a sample I wrote for a blog. I think the code itself pretty much explains itself.
Client Side AS3 Code :
Brief about the code snippet:
requestVars.
URL is set to Localhost port 1337 where the nodeJS would be hosted.
The variable set is a test field UserName which is checked for in the server script.
Server Side NodeJS Code :
Brief about the code snippet: