views:

43

answers:

1

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

+2  A: 

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.

Richard Szalay
SO YOU SAY EACH TIME USER runs an air app (starts up an app like doble click on an icon) if that app already is started up it gets that event?!? Wow... Cool!) Thanks... going to test it out as soon as possible=)
Blender
Yes, that is how I understand `InvokeEvent.INVOKE` to work.
Richard Szalay