Flash MX - how to get the current URL

Hi,

I m making a flash application which will be loaded on different web sites. I have to get some data from ASP & when user exits from the application have to send back the data to another ASP.
My problem is how to send & retreive data from ASP & FALSH MX.

Second problem is how will i find the current URL from which my application is loaded.
any function in flash or javascript??? any idea?
any guidence will help.
Thanks in advance…

Rgds

About the ASP thing, this is not the right forum.

About the url thing, you can use the _url property.

pom :eye: