Search code examples
actionscript-3flashapache-flexair

How to get ability to start up multiple same Adobe Air applications?


How to be able to start up same Adobe Air applications multiple times? How to make it to my app?


Solution

  • Multiple instances are not supported, but you can work around it.

    If you want the feature to support being run multiple times, you can respond to the InvokeEvent.INVOKE event dispatched by the NativeApplication. You can then open a new window and make it appear that the application is running multiple times.

    Alternatively, if you are simply trying to run the application multiple times to test a connection to a server without using multiple machines, you can change the value of the <id> element in your application descriptor.