# Flash get URL of page its on

**URL:** <https://forum.kirupa.com/t/flash-get-url-of-page-its-on/182479>\
**Category:** Uncategorized\
**Created:** [March 18, 2006, 6:28pm UTC](https://forum.kirupa.com/t/flash-get-url-of-page-its-on/182479 "2006-03-18T18:28:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Templarian](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/templarian/32/7152_2.png) [@Templarian](https://forum.kirupa.com/u/Templarian)\
**Post date:** [March 18, 2006, 6:28pm UTC](https://forum.kirupa.com/t/flash-get-url-of-page-its-on/182479/1 "2006-03-18T18:28:12Z")

</div>

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](http://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.
