Reputation: 25
Im working in Flash CC using AIR3 and I prepared two AIR applications. I want to know if it is possible to run the second air app from the first app. Simple as I can when you click in App1 on button it would open new window with App2. Both apps are AIR but they have different stage size.
Is it possible to do?
Upvotes: 0
Views: 606
Reputation: 11
I needed to start different AIR desktop applications from a single "Dispatcher" AIR desktop application and I had a hard time to understand how to do it. Trying different solutions didn't work. Finally I found different ways to do it.
The easier way is to use adobe.utils.ProductManager, it was tested on Windows.
Here is the code:
import adobe.utils.ProductManager;
private var pm:ProductManager = new ProductManager("airappinstaller");
private function launchMyApplication(myApplicationID:String):void
{
pm.launch("-launch " + myApplicationID);
}
About MyApplication: It is Flex AIR Application and it has a folder META_INF/AIR; there is a file application.xml
Upvotes: 1
Reputation: 497
If possible I prefer second solution - url-sheeme or air.swf.
Upvotes: 0