We have an Adobe AIR application that can be downloaded from multiple domains. And when it starts, it must connect to the site on which it was loaded in order to receive data for display to the user.
So far, we have a separate application assembly for each domain with a hard-coded website URL. And I'm wondering if there is a way for an AIR application to find out at run time the URL (or at least the domain) from which it was loaded?
We would like to have one downloadable binary that can be used from all different domains that can still know its source URL.
Maxim source
share