I want to pass a variable (SWF path) to my AIR app. I will then pass this variable as the source to my SWFLoader component present in the app.
Is there any way of achieving this? I read here http://forums.adobe.com/thread/96965 that passing FlashVars to an AIR app is not possible.
But that was two years ago. Is this still the case?
Any help would be greatly appreciated.
You can receive command line arguments in your AIR application by handling the InvokeEvent:
Hope this helps.
Yes, thank you for the info. I bundled my app into an exe and called it from Command Prompt giving the appropriate argument.
The process worked using InvokeEvent.