I know I could use "BrowserManager.getInstance()" to find out which from URL is my app running, but it doesn't work as I would expect (you can't read url in one line - you have to wait for an event).
Is it possible to do it in some simple way? Like you do in Flash:
if (this.getDepth() == -16384)