Send Parameters to an AIR Application
I have an AIR application that I start up from the command line. A nifty article at The SpreadingFunkyness.com blog points out that it is possible, when using this approach, to send the application parameters! Here’s the example (slightly modified) they provide:
NativeApplication.nativeApplication.addEventListener(InvokeEvent.INVOKE, onInvokeEvent);
function onInvokeEvent(event:InvokeEvent):void {
trace("arguments: "+ event.arguments.toString());
}
Other similar and instructive articles:
0 Comments:
Posta un commento
<< Home