Try BrowserManager.url

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of shivkxr
Sent: Tuesday, March 25, 2008 11:40 AM
To: [email protected]
Subject: [flexcoders] Re: Get the Domain the Flex app is running in

 

> The Flash Player does give the domain it is running from. As 
others 
> have stated, Application.application.url will give it to you. You 
don't 
> want to get get the domain it is running off of, you want to get the 
> domain of the web page that embeds it.

That is correct. I need the domain the web page is in. However, 
Application.application.url gives me the domain of the .swf file and 
that is my domain, not the domain of the web page hosting the swf.

 

Reply via email to