I am looking for a way that can be used in my flash app to read a string from my local application, currently I am using activex to communication with the app and then pass that to flash. But I am wondering is there any alternatives that use pure flash techniques.
+1
A:
You can use LocalConnection in ActionScript 3 to invoke a method in another LocalConnection object. The communication can be:
* Within a single SWF file
* Between multiple SWF files
* Between content (SWF-based or HTML-based) in AIR applications
* Between content (SWF-based or HTML-based) in an AIR application and SWF content running in a browser
The following link gives examples and documentation:
http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/net/LocalConnection.html
Todd Moses
2010-01-11 13:57:13
The local application is a WIN32 application running as a background service, is it doable?
Bin Chen
2010-01-12 03:54:14
This is for communicating with other Flash apps. However, you can use the Flash OCX to pass parameters to flash within your Win32 app.
Todd Moses
2010-01-12 15:01:15
Can I use socket?
Bin Chen
2010-01-13 05:25:44