Looking for a method in flash to read a string from a local app
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 f开发者_如何学Golash. But I am wondering is there any alternatives that use pure flash techniques.
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
精彩评论