Get url of html page from within swf?

is there a way to know the url of the page a flash movie is embedded in, from within that embedded movie?
kind of like in php, $_SERVER[‘PHP_SELF’] returns the page itself.
i’m trying to pass some url string queries back to the same .php page in a getURL()

these don’t seem to work:
getURL("?myFoo=foo");
getURL("#?myFoo=foo");