Hello,

How can I find inside my flex app the url that is serving it.

Eg. if my app is being accessed as http://mysite.com/myapp.html, I 
would like to have this url in a string inside my app at runtime so 
that I can change the behavior of my app depending on where it is being 
served from.

The requirement is there because I have 3 environments for 
dev/test/prod qualified by their urls and I would like to have the same 
flex swf deployed on these that would behave differently for different 
envs.

Many Thanks,
Aman

Reply via email to