Hi Folks: I needed to launch two instances of my AIR application. I didn't know how to adopt a multi-window approach as suggested in this thread (pointers on how to do that would be most helpful!), so I came up with a very simple poor-man's workaround that may be useful to others in the community.
1. Find the directory C:\Program Files\MyApp your where your AIR application was installed 2. Copy the whole directory and create C:\Program Files\MyApp2 3. Open the file C:\Program Files\MyApp2\META-INF\AIR\application.xml in a text editor 4. Change the application identifier string for this second instance as follows: <!-- The application identifier string, unique to this application. Required. --> <id>MyAppIdentifier2</id> 5. Run from C:\Program Files\MyApp2 That's it! --- In [email protected], "Alex Harui" <aha...@...> wrote: > > flash.events.InvokeEvent. (Yes, I did look it up). And the doc says > only one instance per, so the OP will have to adopt a multi-window > approach > > ________________________________ > > From: [email protected] [mailto:[email protected]] On > Behalf Of Jim Hayes > Sent: Monday, August 04, 2008 4:32 PM > To: [email protected] > Subject: RE: [flexcoders] Multiple AIR Instances > > > > Do you know off the top of your head what event that is, Alex? I had a > bug report the other day that I could resolve with this (I didn't > realise that event happened, so thanks) > > If not, no problem - I'll look it up myself, so please don't do it for > me! > > -----Original Message----- > From: [email protected] [mailto:[email protected]] On > Behalf Of Alex Harui > Sent: 05 August 2008 00:27 > To: [email protected] > Subject: RE: [flexcoders] Multiple AIR Instances > > OTOH, AIR send the first instance an event when the second instance is > launched. I don't know if there's a way around it, but I'd just put up > another Window for that second instance. > > ________________________________ > > From: [email protected] [mailto:[email protected]] On > Behalf Of Geoffrey > Sent: Monday, August 04, 2008 8:41 AM > To: [email protected] > Subject: [flexcoders] Multiple AIR Instances > > Did I miss something? Can you only run one instance of an AIR app? > > > ______________________________________________________________________ > This communication is from Primal Pictures Ltd., a company registered in > England and Wales with registration No. 02622298 and registered office: > 4th Floor, Tennyson House, 159-165 Great Portland Street, London, W1W > 5PA, UK. VAT registration No. 648874577. > > This e-mail is confidential and may be privileged. It may be read, > copied and used only by the intended recipient. If you have received it > in error, please contact the sender immediately by return e-mail or by > telephoning +44(0)20 7637 1010. Please then delete the e-mail and do not > disclose its contents to any person. > This email has been scanned for Primal Pictures by the MessageLabs Email > Security System. > ______________________________________________________________________ >

