Try this:

    mx.utils.URLUtil.getServerName
(mx.core.Application.application.url); 

    

Reply via email to