Hi,
what is the way to detect in flash the current url it is playing from?
(not the path of the swf, but the url of the current page)
for example, i want to be able to do this:
trace("the page is " + currentPage);
the result should be: the page is http://www.mysite.com/currentpage.html
I know it can be done by using something like this:
window.location
But I don't know how to make it work.
Thanks!
P.S. I only need for simple urls (with no query strings).