# Receive variable from url string

**URL:** <https://forum.kirupa.com/t/receive-variable-from-url-string/194724>\
**Category:** Uncategorized\
**Created:** [July 25, 2006, 8:02pm UTC](https://forum.kirupa.com/t/receive-variable-from-url-string/194724 "2006-07-25T20:02:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tom\_jones](https://avatars.discourse-cdn.com/v4/letter/t/7feea3/32.png) [@tom\_jones](https://forum.kirupa.com/u/tom_jones)\
**Post date:** [July 25, 2006, 8:02pm UTC](https://forum.kirupa.com/t/receive-variable-from-url-string/194724/1 "2006-07-25T20:02:01Z")

</div>

Hi.

If i have a url string such as [www.domain.com/file.html?foo=123](http://www.domain.com/file.html?foo=123) and a text field in the flash file in file.html called getfoo, how can I populate the contents of getfoo with the variable foo?

I cannot seem to make it work with loadVars.

Thank you for your attention.
