I'm writing a Flash-in-browser to AIR-on-desktop app.
I can get the two to communicate via the LocalConnection API's, but AIR and Flash appear to think differently about what domain they're in.
Even though the browser and AIR apps are on the same machine, leaving out AllowDomain() doesn't work as it would with 2 flash objects.
This means I need to put the domain name into the AIR's AllowDomain() function, but I can't find a way to get that name.
So far I've made it work by:
+ Manually entering the domain (which isn't 'locahost', I need to use the computer's specific name)
+ Using '*' in AllowDomain() (which seems like a security hole).
Retrieving data ...