# Using Url String Quarry

**URL:** <https://forum.kirupa.com/t/using-url-string-quarry/7684>\
**Category:** Uncategorized\
**Created:** [November 5, 2002, 9:25pm UTC](https://forum.kirupa.com/t/using-url-string-quarry/7684 "2002-11-05T21:25:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![waffe](https://avatars.discourse-cdn.com/v4/letter/w/c37758/32.png) [@waffe](https://forum.kirupa.com/u/waffe)\
**Post date:** [November 5, 2002, 9:25pm UTC](https://forum.kirupa.com/t/using-url-string-quarry/7684/1 "2002-11-05T21:25:29Z")

</div>

I need flash to read a url query string. I have found a way at:

[http://www.macromedia.com/support/flash/ts/documents/set\_variables.htm#querystring](http://www.macromedia.com/support/flash/ts/documents/set_variables.htm#querystring)

It is the paragraph called “On a Query String in HTML tags”

I have uploaded my own fla and html file of the tutorial at macromedia.  
I am missing 1 part, you will see when you run the html file the querystring shows up in a text box. Great, But i need that data to go in a load sound command;

mySound.loadSound(urlstring, true);

Could someone please shed some light on how this is done?

🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 5, 2002, 9:30pm UTC](https://forum.kirupa.com/t/using-url-string-quarry/7684/2 "2002-11-05T21:30:40Z")

</div>

Opps forgot to upload. here we are.:x

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 5, 2002, 9:33pm UTC](https://forum.kirupa.com/t/using-url-string-quarry/7684/3 "2002-11-05T21:33:42Z")

</div>

You will have to save this txt file out as html because I can not upload html files.🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 6, 2002, 3:40am UTC](https://forum.kirupa.com/t/using-url-string-quarry/7684/4 "2002-11-06T03:40:47Z")

</div>

All you do is put the word text in loadsound command and all works well.

mySound.loadSound(text, true);

You can change the word in you html file to whatever you like.  
I now use url instead of text, makes more since then.

mySound.loadSound(url, true);

P.S. How do you upload two files at once in a single thread?
