问题描述
如何能够多次启动相同的 Adobe Air 应用程序?如何将其添加到我的应用中?
How to be able to start up same Adobe Air applications multiple times? How to make it to my app?
推荐答案
不支持多个实例,但您可以解决该问题.
Multiple instances are not supported, but you can work around it.
如果您希望该功能支持多次运行,您可以响应InvokeEvent.INVOKE 事件由 本机应用程序.然后,您可以打开一个新窗口并使其看起来应用程序正在运行多次.
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.
这篇关于如何获得启动多个相同 Adobe Air 应用程序的能力?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!