Flash get URL of page its on

Basically what the title says.

I’m transfering a variable in the URL to the page the .swf is on for php to use and instead of coding up a way to put it into flash can flash just sort of get that address of the page it’s on?

www.domain.com/file.php?v=blah

Thanks.

//edit, either getting “blah” into flash or getting the whole url, all i need is the “blah” part which if i have the whole url i can get also.