# URL Query String

**URL:** <https://forum.kirupa.com/t/url-query-string/226997>\
**Category:** flash\
**Created:** [May 25, 2007, 6:36pm UTC](https://forum.kirupa.com/t/url-query-string/226997 "2007-05-25T18:36:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tonygarcia](https://avatars.discourse-cdn.com/v4/letter/t/ac8455/32.png) [@tonygarcia](https://forum.kirupa.com/u/tonygarcia)\
**Post date:** [May 25, 2007, 6:36pm UTC](https://forum.kirupa.com/t/url-query-string/226997/1 "2007-05-25T18:36:55Z")

</div>

How can I get the document URL and query into a variable in actionscript?

I tired using the method below, but this does not work in IE.  
[http://actionscript.org/forums/showthread.php3?p=561688](http://actionscript.org/forums/showthread.php3?p=561688)

Here is an example you can try in both Firefox and IE.  
[http://hombrefeo.com/fla/?foo1=bar1&foo2=bar2](http://hombrefeo.com/fla/?foo1=bar1&foo2=bar2)
