I know this is a longshot but I was wondering if anyone knows if this is possible.
['https://Stackoverflow.com/questions/328753', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/-1/']
Most browsers set the [HTTP\_REFERRER](http://en.wikipedia.org/wiki/Referer) header to the current URL when requesting a linked document. However, it can be spoofed so don't use it for security.
I know nothing about air. 

But if AIR has JavaScript access, and you can access the container document ( [How do I share a javascript object between different pages in Adobe AIR?](https://stackoverflow.com/questions/193130/how-do-i-share-a-javascript-object-between-different-pages-in-adobe-air) ) then all you need to work out is how to obtain Document.location from it.