Reputation: 33
AS3 has a method named ExternalInterface that allows an external process to call methods in a running as3 app and visa versa.
I'd like to accomplish the same thing with OSX. I'm pretty new to OSX and am unsure of what's available / what my options are.
What would be the best way to pass runtime parameters to an OSX app and return a result to the calling routine (python script, JS, .app or whatever)
Upvotes: 0
Views: 46
Reputation: 52143
When running Flash Player in the browser ExternalInterface
will only interact with Javascript in the container HTML page. This works about the same across OS and browser.
When running AS3 in AIR, ExternalInterface
doesn't communicate with the OS. To interact with the OS from AIR you can use NativeProcess
to invoke command line actions.
Upvotes: 1